use the filelist

This commit is contained in:
leonard 2000-08-20 15:04:23 +00:00
parent bbf2375766
commit 4e58d8da7d
2 changed files with 34 additions and 0 deletions

View 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>

View File

@ -0,0 +1,3 @@
@comment $OpenBSD$
%%filelist
@dirrm lib/python1.6/site-packages/python-ldap