1994-09-24 15:33:58 +00:00
|
|
|
# New ports collection makefile for: iv
|
|
|
|
# Version required: 3.1
|
|
|
|
# Date created: 23.sept.1994
|
|
|
|
# Whom: adam
|
|
|
|
#
|
1996-11-13 12:41:39 +00:00
|
|
|
# $Id: Makefile,v 1.11 1996/10/20 15:45:07 max Exp $
|
1994-09-24 15:33:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
VERSION= 3.1
|
1995-05-29 12:42:41 +00:00
|
|
|
# don't change this to "=" !
|
|
|
|
DISTNAME?= iv-${VERSION}
|
1995-06-04 01:12:38 +00:00
|
|
|
CATEGORIES= x11
|
1995-05-29 12:42:41 +00:00
|
|
|
MASTER_SITES= ftp://interviews.stanford.edu/pub/
|
1995-04-12 20:32:12 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
1994-09-24 15:33:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/iv
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
.if ${DISTNAME} != ${VERSION}
|
|
|
|
pre-fetch:
|
1994-11-15 03:19:35 +00:00
|
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
1994-11-01 03:30:10 +00:00
|
|
|
mkdir -p ${DISTDIR}/${DISTNAME} ; \
|
1995-05-29 12:42:41 +00:00
|
|
|
${MAKE} \
|
1994-11-01 03:30:10 +00:00
|
|
|
DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \
|
1995-04-12 20:32:12 +00:00
|
|
|
mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFX} \
|
1994-11-01 03:30:10 +00:00
|
|
|
${DISTDIR}/${DISTFILES} ; \
|
|
|
|
rmdir ${DISTDIR}/${DISTNAME} ; \
|
|
|
|
fi
|
1994-09-24 15:33:58 +00:00
|
|
|
.endif
|
|
|
|
|
1995-05-31 06:01:49 +00:00
|
|
|
post-install:
|
1996-10-20 15:45:07 +00:00
|
|
|
.if !defined(NOMANCOMPRESS)
|
1996-11-13 12:41:39 +00:00
|
|
|
${GZIP_CMD} ${PREFIX}/interviews/man/mann/*.n
|
1996-10-20 15:45:07 +00:00
|
|
|
.endif
|
1995-05-31 06:01:49 +00:00
|
|
|
# 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
|
1995-06-24 11:42:32 +00:00
|
|
|
ldconfig -m ${PREFIX}/lib
|
1995-05-31 06:01:49 +00:00
|
|
|
|
1994-09-24 15:33:58 +00:00
|
|
|
.include <bsd.port.mk>
|