- Clarify LICENSE
- Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers
This commit is contained in:
parent
e584e8aecb
commit
8e0d3922b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404427
1 changed files with 9 additions and 7 deletions
|
@ -10,11 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|||
MAINTAINER= ports@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" \) \
|
||||
|
|
Loading…
Reference in a new issue