pkgsrc/comms/pilotmgr/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 1999/10/07 17:41:47 tron Exp $
DISTNAME= pilotmgr-1.107
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.moshpit.org/pilotmgr/
DEPENDS+= p5-Data-Dumper-2.10:../../devel/p5-Data-Dumper
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/-.*$//}
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"