diff options
author | tron <tron@pkgsrc.org> | 2000-11-20 20:39:46 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-11-20 20:39:46 +0000 |
commit | e88c6073dcfad12b59bf8d07f8b773b9d090b860 (patch) | |
tree | 310c2e2155fd62300c818a21cc04e94b20d9e396 /net/airportbasestationconfig/Makefile | |
parent | 8902e47fdb53f6a7db0cf4722c1a1a19ab65205b (diff) | |
download | pkgsrc-e88c6073dcfad12b59bf8d07f8b773b9d090b860.tar.gz |
Initial import of new "airportbasestationconfig" package:
Configuration program for Apple's Airport Base Station
Diffstat (limited to 'net/airportbasestationconfig/Makefile')
-rw-r--r-- | net/airportbasestationconfig/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net/airportbasestationconfig/Makefile b/net/airportbasestationconfig/Makefile new file mode 100644 index 00000000000..c211de38827 --- /dev/null +++ b/net/airportbasestationconfig/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/20 20:39:46 tron Exp $ + +DISTNAME= configurator +PKGNAME= ${BINNAME}-1.2.2 +CATEGORIES= net +MASTER_SITES= ${HOMEPAGE} +EXTRACT_SUFX= .zip + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/ + +BINNAME= airportbasestationconfig +DOCDIR= ${PREFIX}/share/doc/${BINNAME} +DIST_SUBDIR= ${PKGNAME} +LIBDIR= ${PREFIX}/lib/${BINNAME} +PLIST_SUBST+= BINNAME=${BINNAME} +USE_JAVA= YES +WRKSRC= ${WRKDIR} + +post-extract: + ${CHMOD} -R g-w,o-w ${WRKSRC}/* + +do-build: + cd ${WRKSRC} && \ + ${ECHO} "#!/bin/sh" >${BINNAME} && \ + ${ECHO} "PATH=${JAVA_HOME}/bin:\$${PATH}; export PATH" >>${BINNAME} && \ + ${ECHO} "exec java -jar ${LIBDIR}/${BINNAME}.jar" >>${BINNAME} + +do-install: + ${MKDIR} ${DOCDIR} ${LIBDIR} + cd ${WRKSRC} && \ + ${INSTALL_SCRIPT} ${BINNAME} ${PREFIX}/bin && \ + ${INSTALL_DATA} ${BINNAME}.jar ${LIBDIR} && \ + ${INSTALL_DATA} authors ${DOCDIR}/AUTHORS && \ + ${INSTALL_DATA} copying ${DOCDIR}/COPYING + cd ${WRKSRC}/helpdocs && \ + ${INSTALL_DATA} readme.txt ${DOCDIR}/README && \ + ${INSTALL_DATA} mainscreen.jpg manual.html ${DOCDIR} + +.include "../../mk/bsd.pkg.mk" |