File:
[cvs.NetBSD.org] /
pkgsrc /
net /
airportbasestationconfig /
Attic /
Makefile
Revision
1.37:
download - view:
text,
annotated -
select for diffs
Tue Oct 23 17:18:09 2012 UTC (12 years, 1 month ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
# $NetBSD: Makefile,v 1.37 2012/10/23 17:18:09 asau Exp $
DISTNAME= configurator_152-128
PKGNAME= ${BINNAME}-1.5.2
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
COMMENT= Configuration program for Apple's Airport Base Station
PLIST_SUBST+= BINNAME=${BINNAME:Q} JARNAME=${JARNAME:Q}
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc Darwin-*-*
BINNAME= airportbasestationconfig
DOCDIR= ${PREFIX}/share/doc/${BINNAME}
JARNAME= AirportConfig128Bit.jar
LIBDIR= ${PREFIX}/lib/${BINNAME}
USE_JAVA= run
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 sun-jdk15 blackdown-jdk13 jdk14
INSTALLATION_DIRS= bin ${DOCDIR} ${LIBDIR}
post-extract:
${CHMOD} -R g-w,o-w ${WRKSRC}/*
do-build:
${ECHO} "#!/bin/sh" >${WRKSRC}/${BINNAME}
${ECHO} "PATH=${PKG_JAVA_HOME}/bin:\$${PATH}; export PATH" >>${WRKSRC}/${BINNAME}
.if defined(CLASSPATH)
${ECHO} "CLASSPATH=${CLASSPATH}:\$${CLASSPATH}; export CLASSPATH" >>${WRKSRC}/${BINNAME}
.endif
${ECHO} '${ULIMIT_CMD_datasize}' >>${WRKSRC}/${BINNAME}
${ECHO} "exec java -jar ${LIBDIR}/${JARNAME}" >>${WRKSRC}/${BINNAME}
do-install:
cd ${WRKSRC} && \
${INSTALL_SCRIPT} ${BINNAME} ${DESTDIR}${PREFIX}/bin && \
${INSTALL_DATA} ${JARNAME} ${DESTDIR}${LIBDIR} && \
${INSTALL_DATA} AUTHORS ${DESTDIR}${DOCDIR} && \
${INSTALL_DATA} COPYING ${DESTDIR}${DOCDIR} && \
cd helpdocs && \
${INSTALL_DATA} ReadMe.txt ${DESTDIR}${DOCDIR}/README && \
${INSTALL_DATA} mainscreen.jpg manual.html ${DESTDIR}${DOCDIR}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>