svn commit: r316273 - head/graphics/hobbes-icons-xpm
Dirk Meyer
dinoex at FreeBSD.org
Mon Apr 22 20:36:26 UTC 2013
Author: dinoex
Date: Mon Apr 22 20:36:25 2013
New Revision: 316273
URL: http://svnweb.freebsd.org/changeset/ports/316273
Log:
- use bsd.port.options.mk
PR: 177324
Modified:
head/graphics/hobbes-icons-xpm/Makefile
Modified: head/graphics/hobbes-icons-xpm/Makefile
==============================================================================
--- head/graphics/hobbes-icons-xpm/Makefile Mon Apr 22 20:35:19 2013 (r316272)
+++ head/graphics/hobbes-icons-xpm/Makefile Mon Apr 22 20:36:25 2013 (r316273)
@@ -16,18 +16,20 @@ NO_BUILD= yes
# Where it will be installed (change pkg/PLIST if you change this)
LIBDIR= ${PREFIX}/include/X11/pixmaps
+.include <bsd.port.options.mk>
+
do-install:
- @${MKDIR} ${LIBDIR}
+ ${MKDIR} ${LIBDIR}
${CP} -R ${WRKSRC}/* ${LIBDIR}
${CHOWN} -R ${BINOWN}:${BINGRP} ${LIBDIR}
-${RM} ${LIBDIR}/README
-${RM} ${LIBDIR}/readem.shar
+.if ${PORT_OPTIONS:MDOCS}
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR}/
.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list