summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-12-19 22:20:49 +0000
committerehaupt <ehaupt@FreeBSD.org>2006-12-19 22:20:49 +0000
commit616e8dc36765c9cdd34cd85bb0600afe1ef6c401 (patch)
treec27518f9c547020494c09c9916c008650e5af2af /misc
parent8a65b2d5e66e50e73065ebb6c1adc2158eb34873 (diff)
downloadFreeBSD-ports-616e8dc36765c9cdd34cd85bb0600afe1ef6c401.zip
FreeBSD-ports-616e8dc36765c9cdd34cd85bb0600afe1ef6c401.tar.gz
Update to 2.12r
Diffstat (limited to 'misc')
-rw-r--r--misc/ddate/Makefile21
-rw-r--r--misc/ddate/distinfo6
2 files changed, 14 insertions, 13 deletions
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
OpenPOWER on IntegriCloud