From 616e8dc36765c9cdd34cd85bb0600afe1ef6c401 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Tue, 19 Dec 2006 22:20:49 +0000 Subject: Update to 2.12r --- misc/ddate/Makefile | 21 +++++++++++---------- misc/ddate/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'misc') diff --git a/misc/ddate/Makefile b/misc/ddate/Makefile index 7f19172..b8ff45f 100644 --- a/misc/ddate/Makefile +++ b/misc/ddate/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ddate -PORTVERSION= 2.12q +PORTVERSION= 2.12r CATEGORIES= misc MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux/ \ http://critical.ch/distfiles/ \ @@ -46,24 +46,25 @@ pre-everything:: post-patch: .if defined(US_FORMAT) - ${SED} -e 's/^\/\*\ \(#define\ US_FORMAT\)\ \*\//\1/' ${WRKSRC}/misc-utils/ddate.c > ${WRKSRC}/misc-utils/ddate.c.new - ${MV} ${WRKSRC}/misc-utils/ddate.c.new ${WRKSRC}/misc-utils/ddate.c + @${REINPLACE_CMD} -e 's/^\/\*\ \(#define\ US_FORMAT\)\ \*\//\1/' \ + ${WRKSRC}/misc-utils/ddate.c .endif .if defined(PRAISE_BOB) - ${SED} -e 's/^\/\*\(#define\ PRAISE_BOB\ 13013\)\*\//\1/' ${WRKSRC}/misc-utils/ddate.c > ${WRKSRC}/misc-utils/ddate.c.new - ${MV} ${WRKSRC}/misc-utils/ddate.c.new ${WRKSRC}/misc-utils/ddate.c + @${REINPLACE_CMD} -e 's/^\/\*\(#define\ PRAISE_BOB\ 13013\)\*\//\1/' \ + ${WRKSRC}/misc-utils/ddate.c .endif .if defined(KILL_BOB) - ${SED} -e 's/^\(#define\ KILL_BOB\ 13013\)/\/* \1 *\//' ${WRKSRC}/misc-utils/ddate.c > ${WRKSRC}/misc-utils/ddate.c.new - ${MV} ${WRKSRC}/misc-utils/ddate.c.new ${WRKSRC}/misc-utils/ddate.c + @${REINPLACE_CMD} -e 's/^\(#define\ KILL_BOB\ 13013\)/\/* \1 *\//' \ + ${WRKSRC}/misc-utils/ddate.c .endif .if !defined(OLD_FORMAT) - ${SED} -e 's/^\(#define\ OLD_IMMEDIATE_FMT\)/\/* \1 *\//' ${WRKSRC}/misc-utils/ddate.c > ${WRKSRC}/misc-utils/ddate.c.new - ${MV} ${WRKSRC}/misc-utils/ddate.c.new ${WRKSRC}/misc-utils/ddate.c + @${REINPLACE_CMD} -e 's/^\(#define\ OLD_IMMEDIATE_FMT\)/\/* \1 *\//' \ + ${WRKSRC}/misc-utils/ddate.c .endif do-build: - ${CC} ${WRKSRC}/misc-utils/ddate.c ${CFLAGS} -o ${WRKSRC}/misc-utils/${PORTNAME} + ${CC} ${WRKSRC}/misc-utils/ddate.c ${CFLAGS} \ + -o ${WRKSRC}/misc-utils/${PORTNAME} do-install: ${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/misc-utils/${PORTNAME} ${PREFIX}/bin diff --git a/misc/ddate/distinfo b/misc/ddate/distinfo index dcbb6c1..bf7f8f7 100644 --- a/misc/ddate/distinfo +++ b/misc/ddate/distinfo @@ -1,3 +1,3 @@ -MD5 (util-linux-2.12q.tar.bz2) = 54320aa1abbce00c0dc030e2c3afe5d7 -SHA256 (util-linux-2.12q.tar.bz2) = 2e68a53d1393e97926340d9b21e1bde488aaef05ab3e8bcab4849d1859115c6d -SIZE (util-linux-2.12q.tar.bz2) = 1371087 +MD5 (util-linux-2.12r.tar.bz2) = af9d9e03038481fbf79ea3ac33f116f9 +SHA256 (util-linux-2.12r.tar.bz2) = b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b +SIZE (util-linux-2.12r.tar.bz2) = 1370907 -- cgit v1.1