diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2007-02-10 10:21:38 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2007-02-10 10:21:38 +0000 |
commit | 93d27bc199422136d94b25849a8c1cc0a8ebef19 (patch) | |
tree | c98e3d9dc9c6e18a41ecedfb4ffa1fef68759977 /sysutils | |
parent | a4e6a946e051cecf6b7fdabb38c665916095b00e (diff) | |
download | ports-93d27bc199422136d94b25849a8c1cc0a8ebef19.tar.gz ports-93d27bc199422136d94b25849a8c1cc0a8ebef19.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fdupes/Makefile | 17 | ||||
-rw-r--r-- | sysutils/fdupes/distinfo | 6 |
2 files changed, 11 insertions, 12 deletions
diff --git a/sysutils/fdupes/Makefile b/sysutils/fdupes/Makefile index ffa3ada6bd0d..380b181582f8 100644 --- a/sysutils/fdupes/Makefile +++ b/sysutils/fdupes/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fdupes -PORTVERSION= 1.40 +DISTVERSION= 1.50-PR1 CATEGORIES= sysutils MASTER_SITES= http://netdial.caribe.net/~adrian2/programs/ \ http://critical.ch/distfiles/ \ @@ -15,21 +15,20 @@ MASTER_SITES= http://netdial.caribe.net/~adrian2/programs/ \ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fdupes is a program for identifying or deleting duplicate files -USE_GETOPT_LONG= yes - MAN1= fdupes.1 PLIST_FILES= bin/fdupes +CFLAGS+= -DVERSION=\"${PORTVERSION}\" + .include <bsd.port.pre.mk> -CFLAGS+= -DHAVE_DECL_GETOPT +.if (${OSVERSION} < 500041) +CFLAGS+= -DOMIT_GETOPT_LONG=yes +.endif do-build: -.if ${OSVERSION} < 500041 - ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include ${LOCALBASE}/lib/libgnugetopt.so -.else - ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c -o ${WRKSRC}/${PORTNAME} -DVERSION=\"${PORTVERSION}\" -.endif + ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c \ + -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin diff --git a/sysutils/fdupes/distinfo b/sysutils/fdupes/distinfo index b616081f98e3..63bbf28085a4 100644 --- a/sysutils/fdupes/distinfo +++ b/sysutils/fdupes/distinfo @@ -1,3 +1,3 @@ -MD5 (fdupes-1.40.tar.gz) = 11de9ab4466089b6acbb62816b30b189 -SHA256 (fdupes-1.40.tar.gz) = e1ed91c44bf4a08de9a92cb019c20420874fdeed49a56e8f270ad7fc26bbdde7 -SIZE (fdupes-1.40.tar.gz) = 16026 +MD5 (fdupes-1.50-PR1.tar.gz) = 1c796fa1fc07d532478e3c2aa4bc5482 +SHA256 (fdupes-1.50-PR1.tar.gz) = 69656cbd2d9a7a010f8c7b22f0d0231ff548d52398ffa56723c0aa34bdde0223 +SIZE (fdupes-1.50-PR1.tar.gz) = 17467 |