Skip to content

Commit

Permalink
use the filelist
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard committed Aug 20, 2000
1 parent bbf2375 commit 4e58d8d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Build/build-openbsd/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions Build/build-openbsd/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@comment $OpenBSD$
%%filelist
@dirrm lib/python1.6/site-packages/python-ldap

0 comments on commit 4e58d8d

Please sign in to comment.