1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/iv/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

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
#
# $Id: Makefile,v 1.10 1995/06/24 11:42:29 asami 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/
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:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
mkdir -p ${DISTDIR}/${DISTNAME} ; \
1995-05-29 12:42:41 +00:00
${MAKE} \
DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \
mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFX} \
${DISTDIR}/${DISTFILES} ; \
rmdir ${DISTDIR}/${DISTNAME} ; \
fi
1994-09-24 15:33:58 +00:00
.endif
post-install:
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/interviews/man/mann/*.n
.endif
# 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
ldconfig -m ${PREFIX}/lib
1994-09-24 15:33:58 +00:00
.include <bsd.port.mk>