svn commit: r420962 - head/sysutils/ftwin

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Aug 27 09:01:20 UTC 2016


Author: amdmi3
Date: Sat Aug 27 09:01:18 2016
New Revision: 420962
URL: https://svnweb.freebsd.org/changeset/ports/420962

Log:
  - Remove unneeded flags
  - Switch to options helpers

Modified:
  head/sysutils/ftwin/Makefile

Modified: head/sysutils/ftwin/Makefile
==============================================================================
--- head/sysutils/ftwin/Makefile	Sat Aug 27 08:59:42 2016	(r420961)
+++ head/sysutils/ftwin/Makefile	Sat Aug 27 09:01:18 2016	(r420962)
@@ -20,9 +20,6 @@ LIB_DEPENDS=	libapr-1.so:devel/apr1 \
 USES=		autoreconf libarchive tar:bzip2
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 PORTDOCS=	AUTHORS EXAMPLES TODO CHANGES KNOWN_BUGS VERSION README
 PLIST_FILES=	bin/ftwin man/man8/ftwin.8.gz
 
@@ -33,10 +30,8 @@ post-patch:
 		's|-Werror -g -ggdb|| ; \
 		 s|-O0||' ${WRKSRC}/Makefile.am
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${PORTDOCS}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
-.endfor
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list