svn commit: r327934 - head/sysutils/ftwin

Baptiste Daroussin bapt at FreeBSD.org
Mon Sep 23 06:17:32 UTC 2013


Author: bapt
Date: Mon Sep 23 06:17:32 2013
New Revision: 327934
URL: http://svnweb.freebsd.org/changeset/ports/327934

Log:
  Use stage
  Modern LIB_DEPENDS

Modified:
  head/sysutils/ftwin/Makefile

Modified: head/sysutils/ftwin/Makefile
==============================================================================
--- head/sysutils/ftwin/Makefile	Mon Sep 23 06:17:02 2013	(r327933)
+++ head/sysutils/ftwin/Makefile	Mon Sep 23 06:17:32 2013	(r327934)
@@ -7,32 +7,29 @@ CATEGORIES=	sysutils
 MASTER_SITES=	http://download.meroware.org/ftwin/
 
 MAINTAINER=	bapt at 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>


More information about the svn-ports-all mailing list