diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-15 09:03:36 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-15 09:03:36 +0000 |
commit | fd5ec4fe651927f660004beb23192dbb4b65e644 (patch) | |
tree | 0020a8dc1d25bddb3f2568bf2408bca3cb2de141 /textproc | |
parent | Update to 4.12.1 (diff) |
- Add LICENSE_FILE
- Remove unneeed CPP/LDFLAGS
- Switch to options helpers
- Don't needlessly install INSTALL file
Notes
Notes:
svn path=/head/; revision=415224
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sagasu/Makefile | 8 | ||||
-rw-r--r-- | textproc/sagasu/pkg-plist | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/textproc/sagasu/Makefile b/textproc/sagasu/Makefile index cadbef38c3c5..4e9498a34336 100644 --- a/textproc/sagasu/Makefile +++ b/textproc/sagasu/Makefile @@ -11,14 +11,12 @@ MAINTAINER= ports@FreeBSD.org COMMENT= GNOME tool to find strings in a set of files LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= pathfix pkgconfig gettext gmake USE_GNOME= libgnomeui GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - OPTIONS_DEFINE= DOCS post-patch: @@ -28,9 +26,9 @@ post-patch: 's|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/util.h -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in AUTHORS INSTALL NEWS README THANKS TODO +.for f in AUTHORS NEWS README THANKS TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor diff --git a/textproc/sagasu/pkg-plist b/textproc/sagasu/pkg-plist index 1a36ffeb8369..d1af34078a0e 100644 --- a/textproc/sagasu/pkg-plist +++ b/textproc/sagasu/pkg-plist @@ -2,7 +2,6 @@ bin/sagasu man/man1/sagasu.1.gz share/applications/sagasu.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/THANKS |