emulators/cpmtools: Sanitize MANPREFIX

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 18:04:33 +01:00
parent 6566dda575
commit f5534cf1fb
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= cpmtools PORTNAME= cpmtools
PORTVERSION= 1.1 PORTVERSION= 1.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= LOCAL/joerg MASTER_SITES= LOCAL/joerg
DISTNAME= cpm-${PORTVERSION} DISTNAME= cpm-${PORTVERSION}

View file

@ -5,7 +5,7 @@
MANEXT=1 MANEXT=1
#MANDIR=/usr/man/man${MANEXT} #MANDIR=/usr/man/man${MANEXT}
-MANDIR=/usr/local/man/man${MANEXT} -MANDIR=/usr/local/man/man${MANEXT}
+MANDIR=${PREFIX}/man/man${MANEXT} +MANDIR=${PREFIX}/share/man/man${MANEXT}
install: install:
- cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT} - cp cpm.1 ${DESTDIR}/${MANDIR}/cpm.${MANEXT}

View file

@ -1,3 +1,3 @@
bin/cpm bin/cpm
man/man1/cpm.1.gz share/man/man1/cpm.1.gz
share/cpm/cpm.hlp share/cpm/cpm.hlp