aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-30 22:36:32 +0800
committerbapt <bapt@FreeBSD.org>2014-03-30 22:36:32 +0800
commit47b682746a98282629c1608407c133b59591c9c4 (patch)
treecbea28dcc27c2ea22d5ce3ddfdd38357c234a03b /print
parentdeb2c44f73acef0b57cca9ef04dff13e9482d647 (diff)
downloadfreebsd-ports-gnome-47b682746a98282629c1608407c133b59591c9c4.tar.gz
freebsd-ports-gnome-47b682746a98282629c1608407c133b59591c9c4.tar.zst
freebsd-ports-gnome-47b682746a98282629c1608407c133b59591c9c4.zip
Support stage
Diffstat (limited to 'print')
-rw-r--r--print/psutils/Makefile7
-rw-r--r--print/psutils/files/patch-Makefile.unix6
-rw-r--r--print/psutils/pkg-plist20
3 files changed, 24 insertions, 9 deletions
diff --git a/print/psutils/Makefile b/print/psutils/Makefile
index 6a29afb69151..cc15b524c3cc 100644
--- a/print/psutils/Makefile
+++ b/print/psutils/Makefile
@@ -14,19 +14,14 @@ DISTNAME= psutils-p17
MAINTAINER= hrs@FreeBSD.org
COMMENT= Utilities for manipulating PostScript documents
-LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
USES= perl5
USE_PERL5= build
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= Makefile.unix
MAKE_ENV+= DATADIR="${DATADIR}" PERL="${PERL5}" CHMOD="${CHMOD}"
-MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
- getafm.1 fixdlsrps.1 fixfmps.1 fixmacps.1 fixpsditps.1 \
- fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \
- extractres.1 includeres.1 fixscribeps.1 psmerge.1
SCRIPTS_ENV+= PERL5=${PERL5} CC=${CC} DATADIR=${DATADIR} \
MANPREFIX=${MANPREFIX} PAPER=dummy
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/print/psutils/files/patch-Makefile.unix b/print/psutils/files/patch-Makefile.unix
index ae83cde73d95..84765f6f552d 100644
--- a/print/psutils/files/patch-Makefile.unix
+++ b/print/psutils/files/patch-Makefile.unix
@@ -5,11 +5,11 @@
OS = UNIX
-BINDIR = /usr/local/bin
-+BINDIR ?= $(PREFIX)/bin
++BINDIR ?= $(DESTDIR)$(PREFIX)/bin
SCRIPTDIR = $(BINDIR)
-INCLUDEDIR = /usr/local/share/psutils
-PERL = /usr/local/bin/perl
-+INCLUDEDIR ?= $(DATADIR)
++INCLUDEDIR ?= $(DESTDIR)$(DATADIR)
+PERL ?= $(PERL5)
-BINMODE = 0755
@@ -22,7 +22,7 @@
INSTALLMAN = install -c -m $(MANMODE)
MANEXT = 1
-MANDIR = /usr/local/share/man/man$(MANEXT)
-+MANDIR ?= $(MANPREFIX)/man/man$(MANEXT)
++MANDIR ?= $(DESTDIR)$(MANPREFIX)/man/man$(MANEXT)
-CC = gcc
-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
diff --git a/print/psutils/pkg-plist b/print/psutils/pkg-plist
index ca7d9affaf43..541720dfc3a8 100644
--- a/print/psutils/pkg-plist
+++ b/print/psutils/pkg-plist
@@ -19,6 +19,26 @@ bin/extractres
bin/includeres
bin/psmerge
bin/showchar
+man/man1/epsffit.1.gz
+man/man1/extractres.1.gz
+man/man1/fixdlsrps.1.gz
+man/man1/fixfmps.1.gz
+man/man1/fixmacps.1.gz
+man/man1/fixpsditps.1.gz
+man/man1/fixpspps.1.gz
+man/man1/fixscribeps.1.gz
+man/man1/fixtpps.1.gz
+man/man1/fixwfwps.1.gz
+man/man1/fixwpps.1.gz
+man/man1/fixwwps.1.gz
+man/man1/getafm.1.gz
+man/man1/includeres.1.gz
+man/man1/psbook.1.gz
+man/man1/psmerge.1.gz
+man/man1/psnup.1.gz
+man/man1/psresize.1.gz
+man/man1/psselect.1.gz
+man/man1/pstops.1.gz
%%DATADIR%%/md68_0.ps
%%DATADIR%%/md71_0.ps
@dirrm %%DATADIR%%