1994-12-18 21:12:10 +00:00
|
|
|
# New ports collection makefile for: magic
|
|
|
|
# Version required: 6.4.4
|
|
|
|
# Date created: 18 Dec 1994
|
|
|
|
# Whom: swallace
|
|
|
|
#
|
1999-08-22 19:01:07 +00:00
|
|
|
# $Id: Makefile,v 1.14 1998/11/29 12:43:09 asami Exp $
|
1994-12-18 21:12:10 +00:00
|
|
|
#
|
|
|
|
|
1996-12-06 08:19:09 +00:00
|
|
|
DISTNAME= magic-6.5
|
1996-11-15 23:31:01 +00:00
|
|
|
CATEGORIES= cad
|
1996-12-06 08:19:09 +00:00
|
|
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/WRL/projects/magic/6.5/
|
1996-12-06 23:27:03 +00:00
|
|
|
DISTFILES= magic-6_5_tar.Z
|
1995-04-11 20:13:02 +00:00
|
|
|
|
1996-11-15 23:31:01 +00:00
|
|
|
MAINTAINER= swallace@FreeBSD.org
|
|
|
|
|
1998-11-29 12:43:13 +00:00
|
|
|
USE_XLIB= yes
|
1995-02-13 13:19:22 +00:00
|
|
|
USE_GMAKE= yes
|
1994-12-18 21:12:10 +00:00
|
|
|
|
1996-12-06 08:19:09 +00:00
|
|
|
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
|
1996-10-21 07:43:40 +00:00
|
|
|
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:
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${BINMODE} ${PREFIX}/bin/spice2sim
|
|
|
|
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/spice2sim
|
1996-10-21 07:43:40 +00:00
|
|
|
.for f in ${BINS}
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${BINMODE} ${PREFIX}/bin/$f
|
|
|
|
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/$f
|
1996-10-21 07:43:40 +00:00
|
|
|
@strip ${PREFIX}/bin/$f
|
|
|
|
.endfor
|
|
|
|
.for f in ${MAN1}
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${MANMODE} ${PREFIX}/man/man1/$f
|
|
|
|
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man1/$f
|
1996-10-21 07:43:40 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${MAN3}
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${MANMODE} ${PREFIX}/man/man3/$f
|
|
|
|
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man3/$f
|
1996-10-21 07:43:40 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${MAN5}
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${MANMODE} ${PREFIX}/man/man5/$f
|
|
|
|
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man5/$f
|
1996-10-21 07:43:40 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${MAN8}
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} ${MANMODE} ${PREFIX}/man/man8/$f
|
|
|
|
@${CHOWN} ${MANOWN}.${MANGRP} ${PREFIX}/man/man8/$f
|
1996-10-21 07:43:40 +00:00
|
|
|
.endfor
|
1999-08-22 19:01:07 +00:00
|
|
|
@${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 \
|
1996-10-21 07:43:40 +00:00
|
|
|
${PREFIX}/lib/libmpack.a
|
1994-12-18 21:12:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|