aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-12 20:55:02 +0800
committerlawrance <lawrance@FreeBSD.org>2005-12-12 20:55:02 +0800
commitb28ae15d8edc5c04b42248c04736bd4f6db336fe (patch)
tree77c1584048e437cc8b8f7bd83b4fc4f09e26678e /lang
parent229d64cf9dac8181c6e8a841c09715166bb004d5 (diff)
downloadfreebsd-ports-graphics-b28ae15d8edc5c04b42248c04736bd4f6db336fe.tar.gz
freebsd-ports-graphics-b28ae15d8edc5c04b42248c04736bd4f6db336fe.tar.zst
freebsd-ports-graphics-b28ae15d8edc5c04b42248c04736bd4f6db336fe.zip
Install manpages into a real manpath.
Bump PORTREVISION. PR: ports/38034 Submitted by: Chris J. Mutter <cjm@s2.enemy.org>
Diffstat (limited to 'lang')
-rw-r--r--lang/compaq-cc/Makefile8
-rw-r--r--lang/compaq-cc/pkg-plist4
2 files changed, 9 insertions, 3 deletions
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile
index c3067af81f7..4fc39837df5 100644
--- a/lang/compaq-cc/Makefile
+++ b/lang/compaq-cc/Makefile
@@ -8,7 +8,7 @@
PORTNAME= compaq-cc
PORTVERSION= 6.4.9.005.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang
MASTER_SITES= ftp://ftp.compaq.com/pub/products/C-CXX/linux/compaq_c/
DISTFILES= ccc-6.4.9.005-1.alpha.rpm libots-2.2.7-2.alpha.rpm
@@ -58,6 +58,12 @@ do-install:
.for F in ${DISTFILES}
cd ${PREFIX} ; rpm2cpio ${DISTDIR}/$F |${CPIO} -idum -R root:wheel
.endfor
+ ${MV} ${PREFIX}/usr/man/man1/ccc.1 ${PREFIX}/usr/share/man/man1/
+ ${MV} ${PREFIX}/usr/man/man8/protect_headers_setup.8 \
+ ${PREFIX}/usr/share/man/man8/
+ -${RMDIR} ${PREFIX}/usr/man/man1 ${PREFIX}/usr/man/man8 \
+ ${PREFIX}/usr/man
+
.for F in ${CCC_ROOT}/alpha-linux/bin/lnxcc \
${CCC_ROOT}/alpha-linux/bin/lnxcc_driver
brandelf -t Linux ${PREFIX}$F
diff --git a/lang/compaq-cc/pkg-plist b/lang/compaq-cc/pkg-plist
index b4f085525da..b5098537c19 100644
--- a/lang/compaq-cc/pkg-plist
+++ b/lang/compaq-cc/pkg-plist
@@ -7,8 +7,8 @@ usr/bin/ccc
@comment Insert PLIST.alphalinux here
@comment -=[ begin PLIST.alphalinux ]=-
@comment -=[ end PLIST.alphalinux ]=-
-usr/man/man1/ccc.1
-usr/man/man8/protect_headers_setup.8
+usr/share/man/man1/ccc.1
+usr/share/man/man8/protect_headers_setup.8
@comment Insert PLIST.alpha-freebsd here
@comment -=[ begin PLIST.alpha-freebsd ]=-
@comment -=[ end PLIST.alpha-freebsd ]=-