svn commit: r408891 - head/x11-fm/gentoo
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Feb 14 21:42:06 UTC 2016
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 at 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>
More information about the svn-ports-all
mailing list