a80fd13efc
their files via a custom do-install target.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2008/03/04 17:57:18 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= columba-unix-1.0_M2-bin
|
|
PKGNAME= columba-1.0M2
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=columba/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://columba.sourceforge.net/
|
|
COMMENT= Graphical Email Client written in JAVA (TM)
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_BUILD= yes
|
|
USE_JAVA2= yes
|
|
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14
|
|
|
|
SUBST_CLASSES+= columba
|
|
SUBST_STAGE.columba= pre-configure
|
|
SUBST_MESSAGE.columba= Fixing path to columba\'s executable.
|
|
SUBST_FILES.columba= run.sh
|
|
SUBST_SED.columba= -e 's,columba.jar,${PREFIX}/share/${PKGBASE}/columba.jar,'
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/${PKGBASE}/lib
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/share/${PKGBASE}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/columba.jar ${DESTDIR}${PREFIX}/share/${PKGBASE}
|
|
.for f in AUTHORS LICENSE CHANGES README
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${DESTDIR}${PREFIX}/bin/columba
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|