- Remove unneeded flags

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-08-27 09:01:18 +00:00
parent 037927aeb0
commit 1d75e65b84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420962

View file

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