use the filelist
This commit is contained in:
31
Build/build-openbsd/Makefile
Normal file
31
Build/build-openbsd/Makefile
Normal file
@@ -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 <bsd.port.mk>
|
||||||
3
Build/build-openbsd/pkg/PLIST
Normal file
3
Build/build-openbsd/pkg/PLIST
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
@comment $OpenBSD$
|
||||||
|
%%filelist
|
||||||
|
@dirrm lib/python1.6/site-packages/python-ldap
|
||||||
Reference in New Issue
Block a user