aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-11-24 21:21:25 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-11-24 21:21:25 +0000
commit2410cb84b4cba22774604aba15b1fdac599d086f (patch)
tree83b3e4f9ed3fe628c021f5c64dc246143eb7dbfa /finance
parent551b67e489b3765f8a2fd6c001675a86ed76d924 (diff)
downloadports-2410cb84b4cba22774604aba15b1fdac599d086f.tar.gz
ports-2410cb84b4cba22774604aba15b1fdac599d086f.zip
- Update to 3.08
- Respect X11BASE PR: ports/105809 Submitted by: John E. Hein <jhein@timing.com> (maintainer)
Notes
Notes: svn path=/head/; revision=177978
Diffstat (limited to 'finance')
-rw-r--r--finance/opentaxsolver/Makefile23
-rw-r--r--finance/opentaxsolver/distinfo6
-rw-r--r--finance/opentaxsolver/pkg-plist58
3 files changed, 47 insertions, 40 deletions
diff --git a/finance/opentaxsolver/Makefile b/finance/opentaxsolver/Makefile
index 357fa4bc38a6..02913c0e05a8 100644
--- a/finance/opentaxsolver/Makefile
+++ b/finance/opentaxsolver/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= ${UPPORTNAME:L}
-PORTVERSION= 3.07
+PORTVERSION= 3.08
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= opentaxsolver
-DISTNAME= ${UPPORTNAME}2005_3.07
+DISTNAME= ${UPPORTNAME}2005_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= jhein@timing.com
@@ -22,6 +22,8 @@ UPPORTNAME= OpenTaxSolver
post-patch:
@${REINPLACE_CMD} -e 's/%%PREFIX%%/${PREFIX:C,/,\/,g}/' \
${WRKSRC}/src/GUI/ots_gui.c
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|' \
+ ${WRKSRC}/src/GUI/Makefile.linux
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
@@ -29,25 +31,30 @@ do-build:
BUILDPROGLISTCMD= ${FIND} bin -type f
BUILDEXAMPLELISTCMD= ${FIND} examples_and_templates -type f
+BUILDEXAMPLEDIRLISTCMD= ${FIND} examples_and_templates -type d
NEWPLIST= ${WRKDIR}/plist.new
do-install:
@(cd ${WRKSRC} && \
for prog in $$(${BUILDPROGLISTCMD}); do \
- ${INSTALL_PROGRAM} $${prog} ${PREFIX}/bin/. ; \
+ ${INSTALL_PROGRAM} $${prog} ${PREFIX}/bin/. ; \
done && \
${MKDIR} ${PREFIX}/share/ots && \
${INSTALL_DATA} src/GUI/otslogo.ppm ${PREFIX}/share/ots/. && \
for example in $$(${BUILDEXAMPLELISTCMD}); do \
- ${MKDIR} ${PREFIX}/share/ots/$$(dirname $${example}) && \
- ${INSTALL_DATA} $${example} \
- ${PREFIX}/share/ots/$$(dirname $${example})/. ; \
+ ${MKDIR} ${PREFIX}/share/ots/$$(dirname $${example}) && \
+ ${INSTALL_DATA} $${example} \
+ ${PREFIX}/share/ots/$$(dirname $${example})/. ; \
done)
new-plist:
@(cd ${WRKSRC} && \
- ${BUILDPROGLISTCMD} > ${NEWPLIST} && \
+ ${BUILDPROGLISTCMD} | ${SORT} > ${NEWPLIST} && \
${ECHO_CMD} share/ots/otslogo.ppm >> ${NEWPLIST} && \
- ${BUILDEXAMPLELISTCMD} | ${SED} 's,^,share/ots/,' >> ${NEWPLIST})
+ ${BUILDEXAMPLELISTCMD} | ${SED} 's,^,share/ots/,' | ${SORT} \
+ >> ${NEWPLIST} && \
+ for f in $$(${BUILDEXAMPLEDIRLISTCMD} | ${SED} 's,^,share/ots/,' && \
+ ${ECHO_CMD} share/ots); do ${ECHO_CMD} @dirrm $$f; done | \
+ ${SORT} -r >> ${NEWPLIST})
.include <bsd.port.mk>
diff --git a/finance/opentaxsolver/distinfo b/finance/opentaxsolver/distinfo
index 6f00c99c18d7..41e6d547a733 100644
--- a/finance/opentaxsolver/distinfo
+++ b/finance/opentaxsolver/distinfo
@@ -1,3 +1,3 @@
-MD5 (OpenTaxSolver2005_3.07.tgz) = 7601b50059b55588104591de9e7a8cac
-SHA256 (OpenTaxSolver2005_3.07.tgz) = acf281b2c62405808f453a4c3c926c950501a2700a621aad80ff35b7d0b5d823
-SIZE (OpenTaxSolver2005_3.07.tgz) = 224382
+MD5 (OpenTaxSolver2005_3.08.tgz) = 7467cc72d85b2a88366046cf7c52719c
+SHA256 (OpenTaxSolver2005_3.08.tgz) = 01d691b367b82f818c0baa227a65189a04a68a02c7b8f6163b955e65901b1a03
+SIZE (OpenTaxSolver2005_3.08.tgz) = 224468
diff --git a/finance/opentaxsolver/pkg-plist b/finance/opentaxsolver/pkg-plist
index 35b5ffbf63c9..5e06551fd278 100644
--- a/finance/opentaxsolver/pkg-plist
+++ b/finance/opentaxsolver/pkg-plist
@@ -1,53 +1,53 @@
bin/ots_gui
-bin/taxsolve_US_1040_2005
-bin/taxsolve_US_1040_Sched_C_2005
bin/taxsolve_CA_540_2005
bin/taxsolve_MA_1_2005
bin/taxsolve_NJ_1040_2005
+bin/taxsolve_NY_IT201_2005
+bin/taxsolve_OH_IT1040_2005
bin/taxsolve_PA_40_2005
+bin/taxsolve_US_1040_2005
+bin/taxsolve_US_1040_Sched_C_2005
bin/taxsolve_VA_760_2005
-bin/taxsolve_OH_IT1040_2005
-bin/taxsolve_NY_IT201_2005
share/ots/otslogo.ppm
+share/ots/examples_and_templates/CA_540/CA_540_2005_example.dat
share/ots/examples_and_templates/CA_540/CA_540_2005_template.dat
share/ots/examples_and_templates/CA_540/README_CA_540.txt
-share/ots/examples_and_templates/CA_540/CA_540_2005_example.dat
-share/ots/examples_and_templates/VA_760/VA_760_example.dat
-share/ots/examples_and_templates/VA_760/README_VA_760.txt
-share/ots/examples_and_templates/VA_760/VA_760_template.dat
share/ots/examples_and_templates/MA_1/MA_1_2005_example.dat
-share/ots/examples_and_templates/MA_1/README_MA_1.txt
share/ots/examples_and_templates/MA_1/MA_1_2005_template.dat
-share/ots/examples_and_templates/US_1040_Sched_C/README_US_1040_Sched_C.txt
-share/ots/examples_and_templates/US_1040_Sched_C/US_1040Sched_C_2005_example.dat
-share/ots/examples_and_templates/US_1040_Sched_C/US_1040Sched_C_2005_template.dat
-share/ots/examples_and_templates/OH_1040/README_OH_IT1040.txt
-share/ots/examples_and_templates/OH_1040/OH_IT1040_2005_template.dat
-share/ots/examples_and_templates/OH_1040/OH_IT1040_2005_example.dat
-share/ots/examples_and_templates/US_1040/US_1040_template.dat
-share/ots/examples_and_templates/US_1040/README_US_1040.txt
-share/ots/examples_and_templates/US_1040/US_1040_example.dat
-share/ots/examples_and_templates/NC_400/README_NC_400.txt
+share/ots/examples_and_templates/MA_1/README_MA_1.txt
share/ots/examples_and_templates/NC_400/NC_400_2005_example.dat
share/ots/examples_and_templates/NC_400/NC_400_2005_template.dat
-share/ots/examples_and_templates/NJ_1040/NJ_1040_2005_template.dat
+share/ots/examples_and_templates/NC_400/README_NC_400.txt
share/ots/examples_and_templates/NJ_1040/NJ_1040_2005_example.dat
+share/ots/examples_and_templates/NJ_1040/NJ_1040_2005_template.dat
share/ots/examples_and_templates/NJ_1040/README_NJ_1040.txt
-share/ots/examples_and_templates/PA_40/README_PA_40.txt
-share/ots/examples_and_templates/PA_40/PA_40_2005_template.dat
-share/ots/examples_and_templates/PA_40/PA_40_2005_example.dat
share/ots/examples_and_templates/NY_IT201/NY_IT201_2004_example.dat
-share/ots/examples_and_templates/NY_IT201/README_NY_IT201.txt
share/ots/examples_and_templates/NY_IT201/NY_IT201_2004_template.dat
-@dirrm share/ots/examples_and_templates/CA_540
+share/ots/examples_and_templates/NY_IT201/README_NY_IT201.txt
+share/ots/examples_and_templates/OH_1040/OH_IT1040_2005_example.dat
+share/ots/examples_and_templates/OH_1040/OH_IT1040_2005_template.dat
+share/ots/examples_and_templates/OH_1040/README_OH_IT1040.txt
+share/ots/examples_and_templates/PA_40/PA_40_2005_example.dat
+share/ots/examples_and_templates/PA_40/PA_40_2005_template.dat
+share/ots/examples_and_templates/PA_40/README_PA_40.txt
+share/ots/examples_and_templates/US_1040/README_US_1040.txt
+share/ots/examples_and_templates/US_1040/US_1040_example.dat
+share/ots/examples_and_templates/US_1040/US_1040_template.dat
+share/ots/examples_and_templates/US_1040_Sched_C/README_US_1040_Sched_C.txt
+share/ots/examples_and_templates/US_1040_Sched_C/US_1040Sched_C_2005_example.dat
+share/ots/examples_and_templates/US_1040_Sched_C/US_1040Sched_C_2005_template.dat
+share/ots/examples_and_templates/VA_760/README_VA_760.txt
+share/ots/examples_and_templates/VA_760/VA_760_example.dat
+share/ots/examples_and_templates/VA_760/VA_760_template.dat
@dirrm share/ots/examples_and_templates/VA_760
-@dirrm share/ots/examples_and_templates/MA_1
@dirrm share/ots/examples_and_templates/US_1040_Sched_C
-@dirrm share/ots/examples_and_templates/OH_1040
@dirrm share/ots/examples_and_templates/US_1040
-@dirrm share/ots/examples_and_templates/NC_400
-@dirrm share/ots/examples_and_templates/NJ_1040
@dirrm share/ots/examples_and_templates/PA_40
+@dirrm share/ots/examples_and_templates/OH_1040
@dirrm share/ots/examples_and_templates/NY_IT201
+@dirrm share/ots/examples_and_templates/NJ_1040
+@dirrm share/ots/examples_and_templates/NC_400
+@dirrm share/ots/examples_and_templates/MA_1
+@dirrm share/ots/examples_and_templates/CA_540
@dirrm share/ots/examples_and_templates
@dirrm share/ots