1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/print/flpsed/Makefile
Ruslan Makhmatkhanov f73afe558b print/flpsed: update master site
- flpsed moved to new home

While here:
- add missing deps, reported by stage-qa
- update WWW
- remove not needed inclusion of bsd.port.options.mk
- bump PORTREVISION because of package changes

PR:		209764
Reported by:	johannes.hofmann@gmx.de
2016-09-24 13:12:30 +00:00

53 lines
1.5 KiB
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
# $FreeBSD$
PORTNAME= flpsed
PORTVERSION= 0.7.2
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= http://flpsed.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= WYSIWYG Postscript annotator
LICENSE= GPLv3
LIB_DEPENDS+= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
GNU_CONFIGURE= yes
USES= desktop-file-utils ghostscript:x11 gmake
USE_XORG= x11 xfixes xext xft
PLIST_FILES= bin/flpsed \
man/man1/flpsed.1.gz \
share/applications/flpsed.desktop \
share/icons/flpsed.png \
share/icons/flpsed.svg
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-install:
${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
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
post-install:
.if !exists(${LOCALBASE}/bin/pdftops)
@${ECHO_CMD} ""
@${ECHO_CMD} " Consider installing graphics/xpdf, to take full advantage of "
@${ECHO_CMD} " flpsed's ability to edit PDF files by first converting them "
@${ECHO_CMD} " to PostScript via xpdf's pdftops(1) before editing, and then "
@${ECHO_CMD} " transforming the edited Postscript files back to PDF via "
@${ECHO_CMD} " Ghostscript's ps2pdf(1). "
@${ECHO_CMD} ""
.endif
.include <bsd.port.mk>