aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-07 21:37:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-07 21:37:35 +0800
commit3b545d905554ec34c8231a45f7f9f72bc8d0dbed (patch)
tree5f07d70a532d9120d7b8d4004d5f9f36f2d45632 /games
parent870c53535efb6011e37b21611a2cc88ccb6bcc1e (diff)
downloadfreebsd-ports-graphics-3b545d905554ec34c8231a45f7f9f72bc8d0dbed.tar.gz
freebsd-ports-graphics-3b545d905554ec34c8231a45f7f9f72bc8d0dbed.tar.zst
freebsd-ports-graphics-3b545d905554ec34c8231a45f7f9f72bc8d0dbed.zip
- Clarify LICENSE
- Add LICENSE_FILE - Don't use ${PTHREAD_*} - Simplify docs insatllation - Drop @dirrm* from plist
Diffstat (limited to 'games')
-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 416aa28b2bf..1c2451c9c41 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 aedf0e90a6f..ed2ea074eb8 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%%