From 4e58d8da7d934d53ba27256897656dacae001896 Mon Sep 17 00:00:00 2001 From: leonard Date: Sun, 20 Aug 2000 15:04:23 +0000 Subject: [PATCH] use the filelist --- Build/build-openbsd/Makefile | 31 +++++++++++++++++++++++++++++++ Build/build-openbsd/pkg/PLIST | 3 +++ 2 files changed, 34 insertions(+) create mode 100644 Build/build-openbsd/Makefile create mode 100644 Build/build-openbsd/pkg/PLIST diff --git a/Build/build-openbsd/Makefile b/Build/build-openbsd/Makefile new file mode 100644 index 0000000..fac650f --- /dev/null +++ b/Build/build-openbsd/Makefile @@ -0,0 +1,31 @@ +# $Id: Makefile,v 1.3 2000/08/20 15:04:23 leonard Exp $ + +WRKDIST= ${.CURDIR}/../.. +VERSION!= sh ${WRKDIST}/Build/version.sh + +PKGNAME= python-ldap-${VERSION} +RUN_DEPENDS= python:lang/python +CATEGORIES= misc +MAINATINER= leonard@users.sourceforge.net +HOMEPAGE= http://python-ldap.sourceforge.net/ + +FAKE= Yes +CONFIGURE_STYLE= gnu +SEPARATE_BUILD= Yes +EXTRACT_ONLY= + +CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} + +do-fetch:; + +#-- put package on sourceforge ftp server +export-ftp: ${PKGFILE} + scp ${PKGFILE} python-ldap.sourceforge.net:/home/groups/ftp/pub/python-ldap/${PKGNAME}-${OPSYS}-${ARCH}${PKG_SUFX} + +post-build: + sed -e 's,^${PREFIX}/,,' <${WRKBUILD}/filelist >${WRKBUILD}/filelist2 + +SED_PLIST+= |sed -e '/^%%filelist/r${WRKBUILD}/filelist2' -e '//d' +ALL_TARGET= build filelist + +.include diff --git a/Build/build-openbsd/pkg/PLIST b/Build/build-openbsd/pkg/PLIST new file mode 100644 index 0000000..e2fa811 --- /dev/null +++ b/Build/build-openbsd/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD$ +%%filelist +@dirrm lib/python1.6/site-packages/python-ldap