aboutsummaryrefslogtreecommitdiffstats
path: root/math/fxt/Makefile
blob: 1ed67bd58a48b951670045f9c0fdfde91ee7a1a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# New ports collection makefile for:    fxt
# Date created:         Nov 28, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   fxt
PORTVERSION=    2010.11.28
CATEGORIES= math
MASTER_SITES=   http://www.jjj.de/fxt/
EXTRACT_SUFX=   .tgz

MAINTAINER= dhn@FreeBSD.org
COMMENT=    FFT code and related stuff

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_GMAKE=  yes
MAKEFILE=   makefile

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -E \
        -e 's,^(FXT_CXXFLAGS),#\1,' \
        -e 's,^(CXXFLAGS),#\1,' \
         ${WRKSRC}/makefile
    @${REINPLACE_CMD} -e 's|sinl|Sin|g' ${WRKSRC}/src/aux0/trigrec.h
    @${REINPLACE_CMD} -e 's|sinl|sin|g' ${WRKSRC}/src/fht/hartleyshift.h

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/00*.txt ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
.endif

plist:
    @truncate -s0 pkg-plist
    @${ECHO_CMD} "lib/libfxt.a" >> pkg-plist

#
# Includes
#
    @${FIND} ${PREFIX}/include/fxt/ ! -type d | \
        ${SED} 's,^${PREFIX}/,,' >> pkg-plist
    @${FIND} ${PREFIX}/include/fxt/ -type d | ${SORT} -r | \
        ${SED} 's,^${PREFIX}/,@dirrm ,' >> pkg-plist

#
# Examples
#
    @${FIND} ${EXAMPLESDIR}/ ! -type d | \
        ${SED} 's,^${EXAMPLESDIR},%%PORTDOCS%%%%EXAMPLESDIR%%,' \
        >> pkg-plist
    @${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
        ${SED} -E -e \
        's,^${EXAMPLESDIR}(.*),%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%\1,' \
        >> pkg-plist

#
# Docs
#
    @${FIND} ${DOCSDIR}/ ! -type d | \
        ${SED} 's,^${DOCSDIR},%%PORTDOCS%%%%DOCSDIR%%,' >> pkg-plist
    @${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
        ${SED} -E -e \
        's,^${DOCSDIR}(.*),%%PORTDOCS%%@dirrm %%DOCSDIR%%\1,' \
        >> pkg-plist

.include <bsd.port.post.mk>
me/commit/graphics/gimp1?id=7e6021061b18425aa731f2d3f998e24918244ffb'>Upgrade to 1.2.3.vanilla2002-04-117-73/+225 * Fully-qualify WWW: URLfenner2001-11-271-1/+1 * add missing entries to pkg-plist.sf2001-09-222-0/+18 * Bump png majorache2001-09-111-1/+1 * Resurrect PORTEPOCH which has been removed in the last commit byknu2001-08-221-0/+1 * Upgrade to 1.2.2clive2001-08-185-53/+113 * Undo 1.2.2 upgrade.sobomax2001-08-145-178/+95 * Update to 1.2.2.sobomax2001-08-145-94/+178 * Correct pkg-comment & pkg_desc.vanilla2001-07-162-3/+3 * Add MASTER_SITE_RINGSERVER to MASTER_SITES.knu2001-03-271-3/+5 * Gimp is 1.2 now, not 1.1.vanilla2001-03-152-3/+3 * Dont strip script when use --install-admin-bin,vanilla2001-03-152-3/+14 * Upgrade to 1.2.1.vanilla2001-01-246-9/+20 * Correct plist.vanilla2001-01-031-0/+4 * Upgrade to 1.2.0, add a patch for print plug-ins (by mistral@imasy.or.jp (Yos...vanilla2000-12-264-343/+240 * Upgrade to 1.1.30.vanilla2000-12-106-31/+12 * Upgrade to 1.1.29, split gimp-perl to p5-Gimp (coming soon).vanilla2000-11-135-104/+33 * Remove helpbrowser again -- it appears to be optional to gnome (lookasami2000-11-011-1/+0 * Upgrade to 1.1.27.vanilla2000-10-134-7/+28 * Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} isasami2000-10-081-1/+1 * Implement WANT_GNOME.reg2000-10-051-20/+12 * Support WITH_PERL properly on -current.reg2000-10-034-3/+25 * Update to 1.1.26.sobomax2000-09-274-7/+21 * Update to 1.1.25.sobomax2000-08-243-3/+19 * (1) Add new variable, XFREE86_VERSION, to specify which version ofasami2000-08-031-2/+2 * Bump png shared library version.sobomax2000-07-041-1/+1 * Update 1.1.24.sobomax2000-06-275-80/+176 * Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in theasami2000-06-171-1/+1 * Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports withsobomax2000-06-162-2/+1 * Updates for new shared library versions in GNOME 1.2ade2000-06-021-2/+2 * Correct PLIST.perl and update Makefile to reflect recentsobomax2000-06-021-2/+5 * Update to 1.1.23. Also remove mandatory libintl dependency (should be inheritedsobomax2000-05-303-13/+14 * Added missed catalog files.sobomax2000-05-251-0/+8 * Update to version 1.1.22. From the information I have, vanilla might notjim2000-05-204-11/+15 * Update to version 1.1.20. Hopefully this will fix some of the buildjim2000-04-273-9/+9 * Correct pkg/PLIST.vanilla2000-04-231-0/+17 * Standardize all user defined options to the booleans WITH_FOO andreg2000-04-171-8/+5 * Update to version 1.1.19.jim2000-04-154-22/+33 * Convert to PORTNAME/PORTVERSION. lfview had an invalid versionasami2000-04-141-7/+5 * Fix a couple bogons to make this work.asami2000-04-071-4/+6 * Upgrade to 1.1.18, and add myself as MAINTAINER.vanilla2000-04-037-90/+93 * Merge the gimp1 and gimp1-i18n ports, and update to GIMP 1.1.17.reg2000-02-2411-267/+517 * Update to version 1.1.16.imura2000-02-131-205/+61 * Remove helpbrowser blug-in: there is no error but this is not building, killingasami2000-01-241-1/+0 * Update to version 1.1.15.jim2000-01-204-48/+52 * Update to version 1.1.14.jim2000-01-043-6/+11 * Fix PLIST.tg1999-12-101-5/+4 * Update to version 1.1.11jim1999-11-124-17/+23 * Fix type in files/gimp.setfont.steve1999-11-011-2/+2 * Upgrade to 1.1.10vanilla1999-10-2310-292/+572 * Upgrade to 1.1.10.sada1999-10-201-7/+42 * The tiff port now lives in ports/graphics/tiff.steve1999-09-071-1/+1 * Change Id->FreeBSD.obrien1999-08-251-1/+1