diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-07 14:08:33 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-07 14:08:33 +0000 |
commit | 3c74547a09df3816f3c601c3e61e2901396d7c06 (patch) | |
tree | 12f5a06b9e19908e6ae6627aa4985a914c6a23cf /print/flpsed/Makefile | |
parent | f9f95f0c527bdb7919f4a7bbd249fcc3bbd8ea34 (diff) | |
download | ports-3c74547a09df3816f3c601c3e61e2901396d7c06.tar.gz ports-3c74547a09df3816f3c601c3e61e2901396d7c06.zip |
Notes
Diffstat (limited to 'print/flpsed/Makefile')
-rw-r--r-- | print/flpsed/Makefile | 34 |
1 files changed, 21 insertions, 13 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: |