mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
59 lines
1.8 KiB
Makefile
59 lines
1.8 KiB
Makefile
# New ports collection makefile for: magic
|
|
# Version required: 6.4.4
|
|
# Date created: 18 Dec 1994
|
|
# Whom: swallace
|
|
#
|
|
# $Id: Makefile,v 1.13 1996/12/06 23:27:03 asami Exp $
|
|
#
|
|
|
|
DISTNAME= magic-6.5
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/WRL/projects/magic/6.5/
|
|
DISTFILES= magic-6_5_tar.Z
|
|
|
|
MAINTAINER= swallace@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
|
|
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>
|