svn commit: r404427 - head/cad/gerbv
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Dec 25 14:43:04 UTC 2015
Author: amdmi3
Date: Fri Dec 25 14:43:02 2015
New Revision: 404427
URL: https://svnweb.freebsd.org/changeset/ports/404427
Log:
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to USES=localbase
- Switch to options helpers
Modified:
head/cad/gerbv/Makefile
Modified: head/cad/gerbv/Makefile
==============================================================================
--- head/cad/gerbv/Makefile Fri Dec 25 14:42:49 2015 (r404426)
+++ head/cad/gerbv/Makefile Fri Dec 25 14:43:02 2015 (r404427)
@@ -10,11 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= ports at FreeBSD.org
COMMENT= Gerber file viewer
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-USES= autoreconf desktop-file-utils gmake libtool pathfix pkgconfig
+USES= autoreconf desktop-file-utils gmake libtool localbase pathfix pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_aux_dir="."
@@ -22,11 +21,10 @@ USE_LDCONFIG= yes
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
PLIST_SUB= VERSION="${PORTVERSION}"
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e \
's|^AM_NLS|#AM_NLS| ; \
@@ -54,6 +52,8 @@ post-install:
(cd ${WRKSRC}/desktop && ${INSTALL_DATA} gerbv-${i}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gerbv.png)
.endfor
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.fig *.txt \
${STAGEDIR}${DOCSDIR})
@@ -63,6 +63,8 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/eagle
(cd ${WRKSRC}/doc/eagle && ${INSTALL_DATA} *.pl *.txt \
${STAGEDIR}${DOCSDIR}/eagle)
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/example && ${FIND} . \
! \( -name "*Makefile*" -or -name ".cvsignore" \) \
More information about the svn-ports-all
mailing list