Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 09:03:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415224 - head/textproc/sagasu
Message-ID:  <201605150903.u4F93aSU063375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun May 15 09:03:36 2016
New Revision: 415224
URL: https://svnweb.freebsd.org/changeset/ports/415224

Log:
  - Add LICENSE_FILE
  - Remove unneeed CPP/LDFLAGS
  - Switch to options helpers
  - Don't needlessly install INSTALL file

Modified:
  head/textproc/sagasu/Makefile
  head/textproc/sagasu/pkg-plist

Modified: head/textproc/sagasu/Makefile
==============================================================================
--- head/textproc/sagasu/Makefile	Sun May 15 07:32:30 2016	(r415223)
+++ head/textproc/sagasu/Makefile	Sun May 15 09:03:36 2016	(r415224)
@@ -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
 

Modified: head/textproc/sagasu/pkg-plist
==============================================================================
--- head/textproc/sagasu/pkg-plist	Sun May 15 07:32:30 2016	(r415223)
+++ head/textproc/sagasu/pkg-plist	Sun May 15 09:03:36 2016	(r415224)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605150903.u4F93aSU063375>