aboutsummaryrefslogtreecommitdiff
path: root/graphics/pstoedit
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-26 11:08:44 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-26 11:08:44 +0000
commit9fd758a646dd56fd92f4ceb9396c5576e020461e (patch)
tree3a596e366f30c356e736417f3f556fb719195032 /graphics/pstoedit
parenta2146a6b83730632e6e1738ea1a697d266e8b0c9 (diff)
downloadports-9fd758a646dd56fd92f4ceb9396c5576e020461e.tar.gz
ports-9fd758a646dd56fd92f4ceb9396c5576e020461e.zip
- Fix build on 5.x
- Pet portlint PR: 58543 58064 Submitted by: Fritz Heinrichmeyer, Larry Rosenman
Notes
Notes: svn path=/head/; revision=92196
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