- Clarify LICENSE

- Add LICENSE_FILE
- Don't use ${PTHREAD_*}
- Simplify docs insatllation
- Drop @dirrm* from plist
This commit is contained in:
Dmitry Marakasov 2014-12-07 13:37:35 +00:00
parent ab5a41cf52
commit 4d8c05ee29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374201
2 changed files with 6 additions and 17 deletions

View File

@ -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>

View File

@ -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%%