mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
b98153570b
. USE_JAVA=1.3+ . Do not install swingall.jar . install in ${PREFIX}/share/java . don't extract under WKRDIR and copy -- untar the distfile directly . move the start-up script's template from Makefile into its own files/moneydance.sh Reviewed by: Sean Reilly (maintainer) Approved by: Sean Reilly (maintainer)
39 lines
957 B
Makefile
39 lines
957 B
Makefile
# New ports collection makefile for: moneydance
|
|
# Date created: 27 Feb 2000
|
|
# Whom: Sean Reilly <sreilly@seanreilly.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= moneydance
|
|
PORTVERSION= 3.2
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= http://moneydance.com/download/3/Unix/
|
|
DISTNAME= ${PORTNAME}_other
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= sreilly@seanreilly.com
|
|
|
|
USE_JAVA= 1.3+
|
|
NO_CDROM= Strict license
|
|
NO_PACKAGE= ${NO_CDROM}
|
|
|
|
# Since the vendor's file has not version information in its name:
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
NO_BUILD= YES
|
|
MDSUBDIR= share/java/moneydance
|
|
PLIST_SUB= MDSUBDIR=${MDSUBDIR}
|
|
|
|
MDDIR= ${PREFIX}/${MDSUBDIR}
|
|
|
|
do-install:
|
|
${TAR} -C ${PREFIX}/${MDSUBDIR:H} -xvzpf ${_DISTDIR}/${DISTFILES} \
|
|
--exclude moneydance/swingall.jar \
|
|
--exclude moneydance/moneydance
|
|
${SED} -e 's,%%MDDIR%%,${MDDIR},g' -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
< ${FILESDIR}/moneydance.sh > ${PREFIX}/bin/moneydance
|
|
${CHMOD} 755 ${PREFIX}/bin/moneydance
|
|
|
|
.include <bsd.port.mk>
|