Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2016 21:42:05 +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: r408891 - head/x11-fm/gentoo
Message-ID:  <201602142142.u1ELg5lv005147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb 14 21:42:04 2016
New Revision: 408891
URL: https://svnweb.freebsd.org/changeset/ports/408891

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/x11-fm/gentoo/Makefile

Modified: head/x11-fm/gentoo/Makefile
==============================================================================
--- head/x11-fm/gentoo/Makefile	Sun Feb 14 21:18:39 2016	(r408890)
+++ head/x11-fm/gentoo/Makefile	Sun Feb 14 21:42:04 2016	(r408891)
@@ -9,17 +9,15 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Gtk+ based, file manager inspired by DirectoryOpus
 
-LICENSE=	GPLv2
-
-OPTIONS_DEFINE=	FAM DOCS
+LICENSE=	GPLv2 # only
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USE_GNOME=	gtk30
 USES=		gettext gmake pathfix pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	MKDIR_P="${MKDIR}"
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+OPTIONS_DEFINE=	FAM DOCS
 
 FAM_USES=		fam
 FAM_CONFIGURE_ENABLE=	fam
@@ -35,12 +33,14 @@ post-patch:
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${STAGEDIR}${MANPREFIX}/man/man1/gentoo.1
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS README.gtkrc \
 	TODO
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-	cd ${WRKSRC}/docs; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 	${RM} -f ${STAGEDIR}${DOCSDIR}/gentoo.1x
 
 .include <bsd.port.mk>



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