aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/pstoedit/Makefile21
-rw-r--r--graphics/pstoedit/pkg-plist9
2 files changed, 20 insertions, 10 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index edf7bc0317f..3c09c1d9f18 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -7,21 +7,24 @@
PORTNAME= pstoedit
PORTVERSION= 3.32
+PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
-LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming \
- plot.4:${PORTSDIR}/graphics/plotutils \
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
+ gs:${PORTSDIR}/print/ghostscript-gnu
+LIB_DEPENDS= Magick++.5:${PORTSDIR}/graphics/ImageMagick \
+ ming.3:${PORTSDIR}/graphics/ming \
plotter.4:${PORTSDIR}/graphics/plotutils
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
+ gs:${PORTSDIR}/print/ghostscript-gnu
-INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+INSTALLS_SHLIB= yes
MAN1= pstoedit.1
@@ -30,10 +33,12 @@ CPPFLAGS= -I${LOCALBASE}/include/ming -I${LOCALBASE}/include \
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/changelog.htm ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.htm ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/pstoedit.htm ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/pstoedit/pkg-plist b/graphics/pstoedit/pkg-plist
index 513b6e30d7a..44952909cf9 100644
--- a/graphics/pstoedit/pkg-plist
+++ b/graphics/pstoedit/pkg-plist
@@ -17,6 +17,9 @@ lib/libpstoedit.so.0
lib/pstoedit/libp2edrvlplot.a
lib/pstoedit/libp2edrvlplot.so
lib/pstoedit/libp2edrvlplot.so.0
+lib/pstoedit/libp2edrvmagick++.a
+lib/pstoedit/libp2edrvmagick++.so
+lib/pstoedit/libp2edrvmagick++.so.0
lib/pstoedit/libp2edrvstd.a
lib/pstoedit/libp2edrvstd.so
lib/pstoedit/libp2edrvstd.so.0
@@ -24,7 +27,9 @@ lib/pstoedit/libp2edrvswf.a
lib/pstoedit/libp2edrvswf.so
lib/pstoedit/libp2edrvswf.so.0
libdata/pkgconfig/pstoedit.pc
-share/doc/pstoedit/pstoedit.htm
+%%PORTDOCS%%share/doc/pstoedit/changelog.htm
+%%PORTDOCS%%share/doc/pstoedit/index.htm
+%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
share/pstoedit/latex2e.fmp
share/pstoedit/mpost.fmp
share/pstoedit/safer.ps
@@ -33,6 +38,6 @@ share/pstoedit/swffonts/default.fdb
share/pstoedit/wemf.fmp
@dirrm share/pstoedit/swffonts
@dirrm share/pstoedit
-@dirrm share/doc/pstoedit
+%%PORTDOCS%%@dirrm share/doc/pstoedit
@dirrm lib/pstoedit
@dirrm include/pstoedit