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