blob: b0eb0030758d30a5201af73a35c8d9196591f74a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.9 2000/01/18 20:41:11 tron Exp $
DISTNAME= pilotmgr-1.107p2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.moshpit.org/pilotmgr/
DEPENDS+= p5-Data-Dumper-*:../../devel/p5-Data-Dumper
DEPENDS+= p5-Digest-MD5-*:../../security/p5-Digest-MD5
DEPENDS+= p5-Tk-*:../../x11/p5-Tk
DEPENDS+= p5-pilot-link-*:../p5-pilot-link
USE_X11= yes
HAS_CONFIGURE= yes
NO_BUILD= yes
CONFIGURE_ARGS= </dev/null
CONFIGURE_SCRIPT= Setup
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*$//}
PM_PERL_DIR= ${PREFIX}/lib/${DISTNAME:C/-.*$//}
PM_DOC_DIR= ${PREFIX}/share/doc/${DISTNAME:C/-.*$//}
post-extract:
@${RM} -f ${WRKSRC}/SyncCM.pm
@${CHMOD} +x ${WRKSRC}/Setup
do-install:
${MKDIR} ${PM_PERL_DIR} ${PM_DOC_DIR}
for FILE in ${WRKSRC}/*.pm; do \
${INSTALL_DATA} $$FILE ${PM_PERL_DIR}; \
done
${CHMOD} ${BINMODE} ${PM_PERL_DIR}/PilotMgr.pm
${LN} -fs ${PM_PERL_DIR}/PilotMgr.pm ${PREFIX}/bin/PilotManager
cd ${WRKSRC}; \
for DIR in lib/*; do \
${MKDIR} ${PM_PERL_DIR}/$$DIR; \
for FILE in $$DIR/*; do \
${INSTALL_DATA} $$FILE ${PM_PERL_DIR}/$$DIR; \
done; \
done
for FILE in ${WRKSRC}/docs/*; do \
${INSTALL_DATA} $$FILE ${PM_DOC_DIR}; \
done
${LN} -fs ${PM_DOC_DIR} ${PM_PERL_DIR}/docs
.include "../../mk/bsd.pkg.mk"
|