source: trunk/base/doc/Makefile @ 1224

Last change on this file since 1224 was 1224, checked in by landonf (Landon Fuller), 18 years ago

Fix makefiles. We should bring back man gzipping or figure out why it broke.
Don't do a portall clean, this is not the job of the system here.

  • Property svn:eol-style set to native
File size: 777 bytes
Line 
1PREFIX?=        /opt/local
2ETCDIR=         /etc/ports
3MAN7=           portfile.7 portstyle.7
4DSTUSR?=        root
5DSTGRP?=        wheel
6
7all:
8
9clean:
10
11install:
12        mkdir -p /etc/defaults
13        mkdir -p ${ETCDIR}
14        mtree -U -f prefix.mtree -d -e -p ${PREFIX} > /dev/null
15        @if [ ! -e ${ETCDIR}/ports.conf ]; then \
16                set -x; \
17                install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf ${ETCDIR}; \
18        fi
19
20        @if [ ! -e ${ETCDIR}/sources.conf ]; then \
21                set -x; \
22                install -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${ETCDIR}; \
23        fi
24        install -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${ETCDIR}
25        install -o ${DSTUSR} -g ${DSTGRP} -m 644 ports.conf.default /etc/defaults/ports.conf
26        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${PREFIX}/man/man7
27        install -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${PREFIX}/man/man7
Note: See TracBrowser for help on using the repository browser.