blob: baa51e136302cfa394e67f39792d58e736f2a6bc (
plain)
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
|
# New ports collection makefile for: iv
# Version required: 3.1
# Date created: 23.sept.1994
# Whom: adam
#
# $Id: Makefile,v 1.7 1995/05/29 12:42:41 asami Exp $
#
VERSION= 3.1
# don't change this to "=" !
DISTNAME?= iv-${VERSION}
MASTER_SITES= ftp://interviews.stanford.edu/pub/
EXTRACT_SUFX= .tar.Z
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/iv
MAKEFILE= makefile
.if ${DISTNAME} != ${VERSION}
pre-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
mkdir -p ${DISTDIR}/${DISTNAME} ; \
${MAKE} \
DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \
mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFX} \
${DISTDIR}/${DISTFILES} ; \
rmdir ${DISTDIR}/${DISTNAME} ; \
fi
.endif
post-install:
cd ${PREFIX}/interviews/man/mann; gzip -9nf *.n
# need these in ${PREFIX}/lib so that ldconfig can find them
ln -fs ../interviews/lib/FREEBSD/libIV.so.3.1 ${PREFIX}/lib
ln -fs ../interviews/lib/FREEBSD/libUnidraw.so.3.1 ${PREFIX}/lib
.include <bsd.port.mk>
|