svn commit: r318208 - head/games/reminiscence
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue May 14 23:31:59 UTC 2013
Author: amdmi3
Date: Tue May 14 23:31:58 2013
New Revision: 318208
URL: http://svnweb.freebsd.org/changeset/ports/318208
Log:
- Switch to OptionsNG
- Trim header
Modified:
head/games/reminiscence/Makefile
Modified: head/games/reminiscence/Makefile
==============================================================================
--- head/games/reminiscence/Makefile Tue May 14 22:32:04 2013 (r318207)
+++ head/games/reminiscence/Makefile Tue May 14 23:31:58 2013 (r318208)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: REminiscence
-# Date created: 11 Feb 2005
-# Whom: Dmitry Marakasov <amdmi3 at amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= REminiscence
PORTVERSION= 0.2.1
@@ -25,19 +21,17 @@ SUB_FILES= pkg-message
PORTDOCS= README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin
${MKDIR} ${DATADIR}/data
-
-post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
More information about the svn-ports-head
mailing list