aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2014-07-07 14:08:33 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2014-07-07 14:08:33 +0000
commit3c74547a09df3816f3c601c3e61e2901396d7c06 (patch)
tree12f5a06b9e19908e6ae6627aa4985a914c6a23cf
parentf9f95f0c527bdb7919f4a7bbd249fcc3bbd8ea34 (diff)
downloadports-3c74547a09df3816f3c601c3e61e2901396d7c06.tar.gz
ports-3c74547a09df3816f3c601c3e61e2901396d7c06.zip
Notes
-rw-r--r--print/flpsed/Makefile34
-rw-r--r--print/flpsed/distinfo4
2 files changed, 23 insertions, 15 deletions
diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile
index 28036fb1dcfc..c23556c92301 100644
--- a/print/flpsed/Makefile
+++ b/print/flpsed/Makefile
@@ -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:
diff --git a/print/flpsed/distinfo b/print/flpsed/distinfo
index 1f2522f193a2..9eaa1384161e 100644
--- a/print/flpsed/distinfo
+++ b/print/flpsed/distinfo
@@ -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