print/psutils: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-22 15:13:16 +01:00
parent 9357f7e015
commit 9eda29de07
3 changed files with 22 additions and 23 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= psutils
PORTVERSION= 1.17
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \
ftp://ftp.knackered.org/pub/psutils/ \
@ -28,7 +28,6 @@ MAKE_ENV+= CHMOD="${CHMOD}" \
PERL="${PERL}"
SCRIPTS_ENV+= CC=${CC} \
DATADIR=${DATADIR} \
MANPREFIX=${MANPREFIX} \
PAPER=dummy \
PERL5=${PERL}

View File

@ -22,7 +22,7 @@
INSTALLMAN = install -c -m $(MANMODE)
MANEXT = 1
-MANDIR = /usr/local/share/man/man$(MANEXT)
+MANDIR ?= $(DESTDIR)$(MANPREFIX)/man/man$(MANEXT)
+MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man$(MANEXT)
-CC = gcc
-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall

View File

@ -19,25 +19,25 @@ 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
share/man/man1/epsffit.1.gz
share/man/man1/extractres.1.gz
share/man/man1/fixdlsrps.1.gz
share/man/man1/fixfmps.1.gz
share/man/man1/fixmacps.1.gz
share/man/man1/fixpsditps.1.gz
share/man/man1/fixpspps.1.gz
share/man/man1/fixscribeps.1.gz
share/man/man1/fixtpps.1.gz
share/man/man1/fixwfwps.1.gz
share/man/man1/fixwpps.1.gz
share/man/man1/fixwwps.1.gz
share/man/man1/getafm.1.gz
share/man/man1/includeres.1.gz
share/man/man1/psbook.1.gz
share/man/man1/psmerge.1.gz
share/man/man1/psnup.1.gz
share/man/man1/psresize.1.gz
share/man/man1/psselect.1.gz
share/man/man1/pstops.1.gz
%%DATADIR%%/md68_0.ps
%%DATADIR%%/md71_0.ps