aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pstoedit
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-26 19:08:44 +0800
committerkrion <krion@FreeBSD.org>2003-10-26 19:08:44 +0800
commit2ffc773b1a3e2b1017d6b6b811c387b974209337 (patch)
tree3cdb5be2fba1d654b3c6b8ae3ed47cccb1ca18e4 /graphics/pstoedit
parent2ef5e10dda4518938539ca3a1f5a9a73f16b9df2 (diff)
downloadfreebsd-ports-gnome-2ffc773b1a3e2b1017d6b6b811c387b974209337.tar.gz
freebsd-ports-gnome-2ffc773b1a3e2b1017d6b6b811c387b974209337.tar.zst
freebsd-ports-gnome-2ffc773b1a3e2b1017d6b6b811c387b974209337.zip
- Fix build on 5.x
- Pet portlint PR: 58543 58064 Submitted by: Fritz Heinrichmeyer, Larry Rosenman
Diffstat (limited to 'graphics/pstoedit')
-rw-r--r--graphics/pstoedit/Makefile4
-rw-r--r--graphics/pstoedit/pkg-plist8
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index f6660e64a897..e55620250df4 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -28,6 +28,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
USE_GNOME= gnometarget pkgconfig
USE_LIBTOOL= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
@@ -45,6 +46,9 @@ pre-everything::
@${ECHO_MSG} ""
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
diff --git a/graphics/pstoedit/pkg-plist b/graphics/pstoedit/pkg-plist
index c74c49def90e..54e971c34af5 100644
--- a/graphics/pstoedit/pkg-plist
+++ b/graphics/pstoedit/pkg-plist
@@ -29,9 +29,9 @@ lib/pstoedit/libp2edrvswf.so
lib/pstoedit/libp2edrvswf.so.0
libdata/pkgconfig/pstoedit.pc
share/aclocal/pstoedit.m4
-%%PORTDOCS%%share/doc/pstoedit/changelog.htm
-%%PORTDOCS%%share/doc/pstoedit/index.htm
-%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
+%%PORTDOCS%%%%DOCSDIR%%/changelog.htm
+%%PORTDOCS%%%%DOCSDIR%%/index.htm
+%%PORTDOCS%%%%DOCSDIR%%/pstoedit.htm
share/pstoedit/latex2e.fmp
share/pstoedit/mpost.fmp
share/pstoedit/safer.ps
@@ -40,6 +40,6 @@ share/pstoedit/swffonts/default.fdb
share/pstoedit/wemf.fmp
@dirrm share/pstoedit/swffonts
@dirrm share/pstoedit
-%%PORTDOCS%%@dirrm share/doc/pstoedit
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/pstoedit
@dirrm include/pstoedit