aboutsummaryrefslogtreecommitdiff
path: root/games/gnurobots
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-07 13:37:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-12-07 13:37:35 +0000
commit4d8c05ee29260ae762696056511616a0139c78fd (patch)
tree5f07d70a532d9120d7b8d4004d5f9f36f2d45632 /games/gnurobots
parentab5a41cf52e2e2c84cf3bce4fb256f1095354a9b (diff)
Notes
Diffstat (limited to 'games/gnurobots')
-rw-r--r--games/gnurobots/Makefile20
-rw-r--r--games/gnurobots/pkg-plist3
2 files changed, 6 insertions, 17 deletions
diff --git a/games/gnurobots/Makefile b/games/gnurobots/Makefile
index 416aa28b2bf9..1c2451c9c41c 100644
--- a/games/gnurobots/Makefile
+++ b/games/gnurobots/Makefile
@@ -14,7 +14,8 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU diversion wherein Scheme-coded robots explore a world
-LICENSE= GPLv3
+LICENSE= GPLv3 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile
@@ -22,18 +23,11 @@ USES= pkgconfig readline
USE_GNOME= vte
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -w
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include -w
+LDFLAGS+= -L${LOCALBASE}/lib -pthread
PORTDOCS= *
-DOCSRCDIR1= ${WRKSRC}
-DOC_FILES1= AUTHORS ChangeLog NEWS README THANKS
-
-DOCSRCDIR2= ${WRKSRC}/doc
-DOCSDIR2= ${DOCSDIR}/doc
-DOC_FILES2= Robots-HOWTO contrib
-
OPTIONS_DEFINE= DOCS
SUB_FILES= pkg-install pkg-message
@@ -49,9 +43,7 @@ post-patch:
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
-
- @${MKDIR} ${STAGEDIR}${DOCSDIR2}
- ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog NEWS README THANKS \
+ doc/Robots-HOWTO doc/contrib" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/gnurobots/pkg-plist b/games/gnurobots/pkg-plist
index aedf0e90a6fa..ed2ea074eb8a 100644
--- a/games/gnurobots/pkg-plist
+++ b/games/gnurobots/pkg-plist
@@ -9,6 +9,3 @@ bin/gnurobots
%%DATADIR%%/scheme/stop.scm
%%DATADIR%%/scheme/zap.scm
share/pixmaps/gnurobots.png
-@dirrm %%DATADIR%%/scheme
-@dirrm %%DATADIR%%/maps
-@dirrm %%DATADIR%%