summaryrefslogtreecommitdiff
path: root/sysutils/ftwin
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:17:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:17:32 +0000
commit45f72dfab58329aa65a273c293add1bc6c388f44 (patch)
tree0e9b6183ed3175f57aab1aa5ddf64c7e4ca13395 /sysutils/ftwin
parentUse stage (diff)
Use stage
Modern LIB_DEPENDS
Notes
Notes: svn path=/head/; revision=327934
Diffstat (limited to 'sysutils/ftwin')
-rw-r--r--sysutils/ftwin/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/sysutils/ftwin/Makefile b/sysutils/ftwin/Makefile
index 8e645192b227..8a808fa2b8c9 100644
--- a/sysutils/ftwin/Makefile
+++ b/sysutils/ftwin/Makefile
@@ -7,32 +7,29 @@ CATEGORIES= sysutils
MASTER_SITES= http://download.meroware.org/ftwin/
MAINTAINER= bapt@FreeBSD.org
-COMMENT= A useful tool to find duplicate files
+COMMENT= Useful tool to find duplicate files
-LIB_DEPENDS= puzzle:${PORTSDIR}/graphics/libpuzzle \
- apr-1:${PORTSDIR}/devel/apr1 \
- pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= libpuzzle.so:${PORTSDIR}/graphics/libpuzzle \
+ libapr-1.so:${PORTSDIR}/devel/apr1 \
+ libpcre.so:${PORTSDIR}/devel/pcre
+
+OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf aclocal automake autoheader
AUTOMAKE_ARGS= --add-missing
CONFIGURE_ARGS+= --with-puzzle=${LOCALBASE}
-PLIST_FILES= bin/ftwin
-
+PLIST_FILES= bin/ftwin \
+ man/man8/ftwin.8.gz
PORTDOCS= AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION LICENSE README
-MAN8= ftwin.8
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>