X Tutup
Skip to content

Commit 4e58d8d

Browse files
author
leonard
committed
use the filelist
1 parent bbf2375 commit 4e58d8d

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

Build/build-openbsd/Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# $Id: Makefile,v 1.3 2000/08/20 15:04:23 leonard Exp $
2+
3+
WRKDIST= ${.CURDIR}/../..
4+
VERSION!= sh ${WRKDIST}/Build/version.sh
5+
6+
PKGNAME= python-ldap-${VERSION}
7+
RUN_DEPENDS= python:lang/python
8+
CATEGORIES= misc
9+
MAINATINER= leonard@users.sourceforge.net
10+
HOMEPAGE= http://python-ldap.sourceforge.net/
11+
12+
FAKE= Yes
13+
CONFIGURE_STYLE= gnu
14+
SEPARATE_BUILD= Yes
15+
EXTRACT_ONLY=
16+
17+
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
18+
19+
do-fetch:;
20+
21+
#-- put package on sourceforge ftp server
22+
export-ftp: ${PKGFILE}
23+
scp ${PKGFILE} python-ldap.sourceforge.net:/home/groups/ftp/pub/python-ldap/${PKGNAME}-${OPSYS}-${ARCH}${PKG_SUFX}
24+
25+
post-build:
26+
sed -e 's,^${PREFIX}/,,' <${WRKBUILD}/filelist >${WRKBUILD}/filelist2
27+
28+
SED_PLIST+= |sed -e '/^%%filelist/r${WRKBUILD}/filelist2' -e '//d'
29+
ALL_TARGET= build filelist
30+
31+
.include <bsd.port.mk>

Build/build-openbsd/pkg/PLIST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@comment $OpenBSD$
2+
%%filelist
3+
@dirrm lib/python1.6/site-packages/python-ldap

0 commit comments

Comments
 (0)
X Tutup