aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-15 17:03:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-15 17:03:36 +0800
commit0875cd451751edd82a67f611603bf791b2507b38 (patch)
tree0020a8dc1d25bddb3f2568bf2408bca3cb2de141
parent178078ce6a943cfe9fa80616a0d057e118f66405 (diff)
downloadfreebsd-ports-gnome-0875cd451751edd82a67f611603bf791b2507b38.tar.gz
freebsd-ports-gnome-0875cd451751edd82a67f611603bf791b2507b38.tar.zst
freebsd-ports-gnome-0875cd451751edd82a67f611603bf791b2507b38.zip
- Add LICENSE_FILE
- Remove unneeed CPP/LDFLAGS - Switch to options helpers - Don't needlessly install INSTALL file
-rw-r--r--textproc/sagasu/Makefile8
-rw-r--r--textproc/sagasu/pkg-plist1
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