2000-06-03 18:36:15 +00:00
|
|
|
# ex:ts=8
|
1998-12-28 13:00:56 +00:00
|
|
|
# New ports collection makefile for: motif
|
|
|
|
# Date created: 5 December 1994
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1998-12-28 13:00:56 +00:00
|
|
|
#
|
|
|
|
|
2000-06-03 18:36:15 +00:00
|
|
|
PORTNAME= open-motif-devel
|
|
|
|
PORTVERSION= 2.1.30
|
1998-12-28 13:00:56 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
2000-06-03 18:36:15 +00: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/
|
2000-06-07 07:08:56 +00:00
|
|
|
DISTNAME= openmotif-${PORTVERSION}-1_MLI
|
2000-06-03 18:36:15 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-12-28 13:00:56 +00:00
|
|
|
|
2000-06-03 18:38:47 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
|
2000-06-03 18:36:15 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
PREFIX?= / # will install into ${PREFIX}/usr/X11R6
|
2000-06-07 07:08:56 +00:00
|
|
|
NO_MTREE= yes
|
1998-12-28 13:00:56 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-06-03 18:36:15 +00: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}
|
1998-12-28 13:00:56 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|