1999-10-07 19:41:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/10/07 17:41:47 tron Exp $
|
1999-05-24 20:09:46 +02:00
|
|
|
|
1999-05-26 00:04:17 +02:00
|
|
|
DISTNAME= pilotmgr-1.107
|
1999-05-24 20:09:46 +02:00
|
|
|
CATEGORIES= comms
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
1999-10-07 19:41:46 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1999-05-24 20:09:46 +02:00
|
|
|
HOMEPAGE= http://www.moshpit.org/pilotmgr/
|
|
|
|
|
1999-05-26 22:48:16 +02:00
|
|
|
DEPENDS+= p5-Data-Dumper-2.10:../../devel/p5-Data-Dumper
|
1999-05-24 20:09:46 +02:00
|
|
|
DEPENDS+= p5-MD5-1.7:../../security/p5-MD5
|
|
|
|
DEPENDS+= p5-Tk-402.002:../../x11/p5-Tk
|
|
|
|
DEPENDS+= p5-pilot-link-0.9.3:../p5-pilot-link
|
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= </dev/null
|
|
|
|
CONFIGURE_SCRIPT= Setup
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*$//}
|
|
|
|
|
1999-05-24 21:09:32 +02:00
|
|
|
PM_PERL_DIR= ${PREFIX}/lib/${DISTNAME:C/-.*$//}
|
1999-05-24 20:09:46 +02:00
|
|
|
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
|
|
|
|
|
1999-09-28 22:40:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|