freebsd-ports/x11-toolkits/open-motif/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2000-06-03 14:36:15 -04:00
# ex:ts=8
# New ports collection makefile for: motif
# Date created: 5 December 1994
# Whom: asami
#
1999-08-30 23:04:38 -04:00
# $FreeBSD$
#
2000-06-03 14:36:15 -04:00
PORTNAME= open-motif
PORTVERSION= 2.1.30
CATEGORIES= x11-toolkits
2000-06-03 14:36:15 -04:00
MASTER_SITES= ftp://openmotif.opengroup.org/pub/openmotif/R2.1.30/binaries/metrolink/ \
ftp://ftp.opengroup.org/pub/openmotif/R2.1.30/binaries/metrolink/ \
ftp://ftp.isca.uiowa.edu/pub/mirrors/openmotif/binaries/metrolink/ \
ftp://ftp.kddlabs.co.jp/X11/openmotif/binaries/metrolink/
DISTNAME= openmotif-${PORTVERSION}-4_MLI
2000-06-03 14:36:15 -04:00
EXTRACT_SUFX= .tgz
2000-06-03 14:38:47 -04:00
MAINTAINER= obrien@FreeBSD.org
2000-06-03 14:36:15 -04:00
ONLY_FOR_ARCHS= i386
PREFIX?= / # will install into ${PREFIX}/usr/X11R6
NO_MTREE= yes
USE_X_PREFIX= yes
2000-06-03 14:36:15 -04:00
NO_WRKSUBDIR= yes
EXTRACT_ONLY= # don't exact the tarball
NO_BUILD= binary distrubition
NO_PKG_REGISTER=do-install: target will take care of this
do-install:
@pkg_add -f -p ${PREFIX} ${DISTDIR}/${DISTFILES}
@${MV} -v ${PKG_DBDIR}/${DISTNAME} ${PKG_DBDIR}/${PKGNAME}
# shouldn't this be covered by "NO_PKG_REGISTER" ??
generate-plist:
@${DO_NADA}
do-package:
@${ECHO_MSG} "===> Building package for ${PKGNAME}"
@if [ -d ${PACKAGES} ]; then \
if [ ! -d ${PKGREPOSITORY} ]; then \
if ! ${MKDIR} ${PKGREPOSITORY}; then \
${ECHO_MSG} ">> Can't create directory ${PKGREPOSITORY}."; \
exit 1; \
fi; \
fi; \
fi
@${CP} -p ${DISTDIR}/${DISTFILES} ${PKGFILE}
.include <bsd.port.mk>