blob: 51772df35d29868e658b9968bedd0fa6aedc0079 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: magic
# Date created: 18 Dec 1994
# Whom: swallace
#
# $FreeBSD$
#
PORTNAME= magic
PORTVERSION= 6.5.1
CATEGORIES= cad
MASTER_SITES= http://mos.stanford.edu/group/magic/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
USE_XLIB= yes
USE_GMAKE= yes
BINS= magic ext2sim magicusage net2ir extcheck X11Helper ext2spice
MAN1= ext2spice.1 extcheck.1 magic.1 magicusage.1 \
ext2sim.1 net2ir.1 rsleeper.1 sleeper.1 fsleeper.1
MAN3= mpack.3 dqueue.3 extflat.3 geometry.3 hash.3 heap.3 libmalloc.3 \
list.3 magicutils.3 malloc.3 path.3 runstats.3 set.3 show.3 \
stack.3 string.3
MAN5= cmap.5 displays.5 dlys.5 sim.5 dstyle.5 ext.5 glyphs.5 magic.5 net.5
MAN8= prleak.8
post-install:
@${CHMOD} ${BINMODE} ${PREFIX}/bin/spice2sim
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/spice2sim
.for f in ${BINS}
@${CHMOD} ${BINMODE} ${PREFIX}/bin/$f
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/$f
@strip ${PREFIX}/bin/$f
.endfor
.for f in ${MAN1}
@${CHMOD} ${MANMODE} ${PREFIX}/man/man1/$f
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/$f
.endfor
.for f in ${MAN3}
@${CHMOD} ${MANMODE} ${PREFIX}/man/man3/$f
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man3/$f
.endfor
.for f in ${MAN5}
@${CHMOD} ${MANMODE} ${PREFIX}/man/man5/$f
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man5/$f
.endfor
.for f in ${MAN8}
@${CHMOD} ${MANMODE} ${PREFIX}/man/man8/$f
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man8/$f
.endfor
@${CHMOD} -R a+rX,go-w ${PREFIX}/lib/magic
@${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/lib/magic
@${CHMOD} ${SHAREMODE} ${PREFIX}/lib/mpack.h ${PREFIX}/lib/libmpack.a
@${CHOWN} ${SHAREOWN}.${SHAREGRP} ${PREFIX}/lib/mpack.h \
${PREFIX}/lib/libmpack.a
.include <bsd.port.mk>
|