1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Update to 0.7.2; use staging; add license

This commit is contained in:
Brendan Fabeny 2014-07-07 14:08:33 +00:00
parent f9f95f0c52
commit 3c74547a09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361089
2 changed files with 23 additions and 15 deletions

View File

@ -2,35 +2,43 @@
# $FreeBSD$
PORTNAME= flpsed
PORTVERSION= 0.7.0
PORTREVISION= 1
PORTVERSION= 0.7.2
CATEGORIES= print
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
MAINTAINER= bf@FreeBSD.org
COMMENT= WYSIWYG Postscript annotator
LIB_DEPENDS+= fltk.1:${PORTSDIR}/x11-toolkits/fltk
LICENSE= GPLv3
LIB_DEPENDS+= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
GNU_CONFIGURE= yes
USE_GHOSTSCRIPT=yes
USES= gmake
PLIST_FILES= bin/flpsed
MAN1= flpsed.1
USES= desktop-file-utils gmake
PLIST_DIRSTRY= share/icons
PLIST_FILES= bin/flpsed \
man/man1/flpsed.1.gz \
share/applications/flpsed.desktop \
share/icons/flpsed.png \
share/icons/flpsed.svg
PORTDOCS= README
NO_STAGE= yes
post-configure:
@${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g"
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/flpsed.desktop ${STAGEDIR}${PREFIX}/share/applications
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
${INSTALL_DATA} ${WRKSRC}/flpsed.png ${WRKSRC}/flpsed.svg ${STAGEDIR}${PREFIX}/share/icons
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (flpsed-0.7.0.tar.gz) = aedb5c96dfdcbe260d133f9b674a98d9948a1614d76ce623acb57503f2850b38
SIZE (flpsed-0.7.0.tar.gz) = 119159
SHA256 (flpsed-0.7.2.tar.gz) = c8c5b54fd21d0b2af2c11bcd7e68f0533c183ba0e9b24f8923dd64ab1eb56284
SIZE (flpsed-0.7.2.tar.gz) = 146678