svn commit: r312291 - head/graphics/netpbm
Dirk Meyer
dinoex at FreeBSD.org
Fri Feb 15 14:44:07 UTC 2013
Author: dinoex
Date: Fri Feb 15 14:44:06 2013
New Revision: 312291
URL: http://svnweb.freebsd.org/changeset/ports/312291
Log:
- cleanup options
PR: 172411
Submitted by: nemysis
Modified:
head/graphics/netpbm/Makefile
Modified: head/graphics/netpbm/Makefile
==============================================================================
--- head/graphics/netpbm/Makefile Fri Feb 15 14:21:45 2013 (r312290)
+++ head/graphics/netpbm/Makefile Fri Feb 15 14:44:06 2013 (r312291)
@@ -31,7 +31,9 @@ USE_LDCONFIG= yes
MAN1= netpbm.1
-.if defined(WITH_X11)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
USE_XORG= x11
MAKE_ENV+= WITH_X11="${WITH_X11}"
PLIST_SUB+= X11=''
@@ -67,8 +69,8 @@ post-install:
@${REINPLACE_CMD} -e 's|doc/USERDOC|${DOCSDIR}/USERDOC|g' \
${WRKSRC}/doc/netpbm.1
${INSTALL_MAN} ${WRKSRC}/doc/netpbm.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/USERDOC ${DOCSDIR}/
.endif
More information about the svn-ports-head
mailing list