- Split X11 part into graphics/xpeps from graphics/peps.

- Add LICENSE.
- doceng@ takes maintainership becuase this is used in textproc/docproj.
This commit is contained in:
Hiroki Sato 2015-08-22 15:43:04 +00:00
parent e252db8e83
commit 801cff9e4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395039
5 changed files with 50 additions and 13 deletions

View file

@ -1051,6 +1051,7 @@
SUBDIR += xoris
SUBDIR += xournal
SUBDIR += xpaint
SUBDIR += xpeps
SUBDIR += xpdf
SUBDIR += xpx
SUBDIR += xsane

View file

@ -3,41 +3,37 @@
PORTNAME= peps
PORTVERSION= 2.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://peps.redprince.net/peps/ \
ftp://ftp.peps.redprince.net/unix/peps/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= doceng@FreeBSD.org
COMMENT= Converts EPS images to anti-aliased bitmaps
LICENSE= BSD2CLAUSE
USES= ghostscript:run
MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
ETC="${PREFIX}/etc"
ALL_TARGET= peps
PLIST_FILES= bin/peps \
etc/peps.mime \
man/man1/peps.1.gz
PORTDOCS= peps.pdf
OPTIONS_DEFINE= DOCS X11
OPTIONS_DEFAULT= X11
X11_PLIST_FILES= bin/xpeps
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MX11}
ALL_TARGET= peps
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/peps ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MX11}
${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${STAGEDIR}${PREFIX}/bin
.endif
${INSTALL_MAN} ${WRKSRC}/peps.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/peps.mime ${STAGEDIR}${PREFIX}/etc
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/peps.pdf ${STAGEDIR}${DOCSDIR}

28
graphics/xpeps/Makefile Normal file
View file

@ -0,0 +1,28 @@
# Created by: petef@FreeBSD.org
# $FreeBSD$
PORTNAME= peps
PORTVERSION= 2.0
CATEGORIES= graphics
MASTER_SITES= http://peps.redprince.net/peps/ \
ftp://ftp.peps.redprince.net/unix/peps/
PKGNAMEPREFIX= x
MAINTAINER= doceng@FreeBSD.org
COMMENT= Converts EPS images to anti-aliased bitmaps with X11 support
LICENSE= BSD2CLAUSE
RUN_DEPENDS= peps>=2.0_6:${PORTSDIR}/graphics/peps
USES= ghostscript:x11,run
MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
ETC="${PREFIX}/etc"
ALL_TARGET= xpeps
PLIST_FILES= bin/xpeps
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

2
graphics/xpeps/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (peps-2.0.tar.gz) = b514fed9412548cdcf43a95b6dcf01b2038f314bc9ef363498ebd2779c897a91
SIZE (peps-2.0.tar.gz) = 55421

10
graphics/xpeps/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
Peps will preprocess encapsulated Postscript files for conversion by
Ghostscript into bitmaps. It provides variable levels of resolution and
anti-aliasing. You can use it as a stand-alone Postscript-to-bitmap
conversion program, or use it on-line to create bitmaps on the fly and send
them out to a web browser, even compressing them if the browser supports
gzip compression.
Xpeps is peps with X11 support.
WWW: http://peps.redprince.net/peps/