705c02d906
"one or more slashes". The + operator is not contained in POSIX basic regular expressions.
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2006/07/02 10:05:55 rillig Exp $
|
|
|
|
DISTNAME= darwin_lib-6.6.2
|
|
PKGREVISION= 2
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.opendarwin.org/downloads/6.6.2/RPMS/ \
|
|
http://www.opendarwin.org/downloads/6.6.2/RPMS/${DARWIN_ARCH}/
|
|
DISTFILES= org.opendarwin.Libsystem-6.6.2-4.fat.rpm \
|
|
org.opendarwin.Libm-6.6.2-4.fat.rpm \
|
|
org.opendarwin.cctools-6.6.2-4.fat.rpm \
|
|
org.opendarwin.ncurses-6.6.2-4.fat.rpm \
|
|
org.opendarwin.IOKitUser-6.6.2-4.fat.rpm \
|
|
org.opendarwin.XFree86-6.6.2-4.${DARWIN_ARCH}.rpm
|
|
|
|
MAINTAINER= abacau@yahoo.com.au
|
|
HOMEPAGE= http://www.opendarwin.org/
|
|
COMMENT= Darwin compatibility libraries (including X11)
|
|
|
|
BUILD_DEPENDS+= rpm2pkg>=1.3:../../pkgtools/rpm2pkg
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-1.6Z*-powerpc NetBSD-1.6Z*-i386 \
|
|
NetBSD-[2-9]*-powerpc NetBSD-[2-9]*-i386
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
DARWIN_ARCH= ${MACHINE_ARCH:C/powerpc/ppc/}
|
|
|
|
RPM2PKG= rpm2pkg
|
|
RPMARGS= -d ${PREFIX} -f ${WRKDIR}/PLIST_RPM2PKG -p emul/darwin \
|
|
-i ./Developer -i ./usr/X11R6/lib/X11/doc/html \
|
|
-i ./usr/share/man -i ./usr/include -i ./usr/X11R6/man \
|
|
-i ./usr/X11R6/include -i ./usr/local/include \
|
|
-i ./usr/local/man \
|
|
${DISTFILES:S/^/${DISTDIR}\//}
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${RM} -f ${WRKDIR}/PLIST_RPM2PKG
|
|
${RPM2PKG} ${RPMARGS}
|
|
${SED} -e 's|^\./||' -e 's|/\./|/|g' -e 's|//*|/|g' \
|
|
${WRKDIR}/PLIST_RPM2PKG > ${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|