aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/grafx2/Makefile
blob: aff3c5664d628b8df6cbde4c7ddcdc1351767d66 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   grafx2
PORTVERSION=    2.4.2035
CATEGORIES= graphics
MASTER_SITES=   GOOGLE_CODE
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A pixelart-oriented bitmap painting program

LIB_DEPENDS=    X11:${PORTSDIR}/x11/libX11 \
        png15:${PORTSDIR}/graphics/png

USE_GMAKE=  yes
USE_SDL=    sdl image
MAKE_JOBS_SAFE= yes

WRKSRC=     ${WRKDIR}/${PORTNAME}/src
CFLAGS+=    -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H

OPTIONS_DEFINE= TTF LUA
TTF_DESC=   True Type font support
OPTIONS_DEFAULT=TTF

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTTF}
USE_SDL+=   ttf
.else
MAKE_ARGS+= NOTTF=1
.endif

.if ${PORT_OPTIONS:MLUA}
USE_PKGCONFIG=  yes
USE_LUA=    5.1
.else
MAKE_ARGS+= NOLUA=1
.endif

post-patch:
    @${REINPLACE_CMD} \
        -e 's|^  prefix = .*$$|  prefix = ${PREFIX}|' \
        -e '/scripts\/libs/d' \
        -e 's/CC = gcc/CC ?= gcc/' \
        ${WRKSRC}/Makefile
    @${REINPLACE_CMD} \
        -e 's|macosx|FreeBSD|g' \
        ${WRKSRC}/mountlist.c ${WRKSRC}/init.c
    @${REINPLACE_CMD} \
        -e 's|Extract_path(program_dir, argv0);|strcpy(program_dir,"${PREFIX}/bin/");|' \
        ${WRKSRC}/setup.c

.include <bsd.port.mk>
at2/Makefile?h=gstreamer&id=55cfd848abf5516e4b88d79fd35224e22390e645'>Update to 2.4.1.kwm2004-11-211-2/+1 * Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-0/+1 * - Update to 2.4.0pav2004-08-171-3/+2 * * Fix crash when typing <space> <tab>marcus2004-07-091-0/+1 * Update to 2.0.10 which features completely re-written tab completionmarcus2004-07-021-1/+1 * Update to 2.0.9. For a list of changes, see http://xchat.org/changelog.txt.marcus2004-06-061-2/+1 * Bump PORTREVISION for Socks5 fix.marcus2004-05-041-1/+1 * Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-0/+1 * Update to 2.0.8. The Perl plug-in now requires Perl 5.6.0 or later.marcus2004-03-221-3/+2 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * - Always create plugins directorypav2004-01-061-0/+4 * Update to 2.0.7.marcus2004-01-031-5/+2 * - Add a patch obtained from authors:pav2003-12-141-2/+4 * Update to 2.0.6.marcus2003-12-041-2/+1 * Don't build in Perl support on amd64, and add a new WITHOUT_PERL knob tomarcus2003-11-241-5/+17 * Make sure this port only conflicts with xchat-1.x, and not themarcus2003-11-231-1/+1 * * We don't need to include bsd.port.pre.mk here as it actually messes upmarcus2003-11-101-4/+2 * Fix runtime on 64-bit architectures.marcus2003-10-261-0/+1 * xchat2 conflicts with xchat.marcus2003-10-111-0/+2 * Update to 2.0.5.adamw2003-09-251-3/+2 * Bump PORTREVISION after lang/python's changing default toperky2003-08-231-0/+1 * Remove PATCH_DIST_STRIP as it is no longer needed.marcus2003-08-011-1/+0 * Update to 2.0.4.adamw2003-08-011-5/+1 * Fix patching on -CURRENT by using REINPLACE to do the do.marcus2003-07-011-0/+4 * Add a distribution patch to fix tinting.marcus2003-06-301-0/+5 * Update to 2.0.3.marcus2003-06-301-8/+8 * Remove REINPLACE commands that were rolled into gnomehack.adamw2003-06-121-5/+0 * Update to 2.0.2.marcus2003-04-241-1/+1 * Convert to new GNOME infrastructure.marcus2003-04-221-3/+1 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Update to 2.0.1.marcus2003-03-061-1/+1 * Correct PLIST_SUB so one plug-in doesn't overwrite the other'smarcus2003-02-191-4/+4 * * Add optional Tcl supportmarcus2003-02-191-1/+18 * Update to 2.0.0.marcus2003-02-121-4/+3 * Chase gtk20's shared lib version.marcus2003-02-081-1/+2 * Update to 1.9.8.marcus2003-01-201-11/+4 * Ensure that xchat is linked against libc_r to avoid spurious crashes onmarcus2002-11-151-2/+3 * Update to 1.9.4.marcus2002-11-091-1/+1 * Update to 1.9.3.marcus2002-10-061-1/+1 * Add xchat2 after a repo-copy from xchat. xchat2 is the development versionmarcus2002-08-181-58/+45 * Add a WITH_PYTHON knob.jim2002-07-011-2/+8 * Install xchat.desktop in the right place.jim2002-05-271-1/+2 * Update to version 1.8.9.jim2002-05-261-2/+1 * GC tons of useless msgfmt:... in BUILD_DEPENDS, when libintl already insobomax2002-04-161-1/+0 * gettext upgrade uber-patch (stage 3)ade2002-04-131-4/+3 * Fix another few places where giconv used instead of iconv.sobomax2002-03-191-1/+1 * Iconv cleanup, stage 2b: remove regex hacks that change iconv.h to giconv.h andsobomax2002-03-181-3/+0 * Bump PORTREVISION to reflect the (lib)iconv upgrade.knu2002-03-181-0/+1 * Iconv cleanup, stage 1b: correct {BUILD,LIB,RUN}_DEPENDS of all ports that needsobomax2002-03-181-1/+1 * Stage 1 of gettext update.ade2002-03-161-1/+1 * Update to version 1.8.8.jim2002-03-091-1/+1 * Keep up with the musical MASTER_SITES. It should be done moving aroundjim2002-01-191-1/+2 * Fix MASTER_SITES.jim2002-01-131-2/+1 * Update to version 1.8.7.jim2002-01-111-1/+1 * Update to version 1.8.6. While I'm here, add a WITH_TRANSPARENCY knobjim2001-11-281-3/+7 * Argh. Bump PORTREVISION. I forgot to apply this in the last commit.jim2001-11-251-0/+1 * Update to version 1.8.5. Re-enable building with perl since xchat hasjim2001-11-031-7/+3 * Add --enable-zvt if compiled with GNOME support so things will workjim2001-10-101-2/+4 * Update to version 1.8.4. Perl support is currently disabled for systemsjim2001-10-031-1/+5 * Fix installation and packaging with GNOME.knu2001-09-061-5/+3 * - Enable NLS using the latest version of msgfmtknu2001-09-051-11/+24 * Update to version 1.8.2.jim2001-07-271-1/+1 * Update to version 1.8.1.jim2001-07-201-1/+1 * Update this to the latest and greatest "stable" version, which is 1.8.0.jim2001-06-291-4/+4 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-301-1/+1 * Update to version 1.6.4.jim2001-02-171-1/+1 * Update to 1.6.3.jim2001-01-111-1/+1 * Update to version 1.6.2.jim2000-12-121-1/+1 * Update to version 1.6.1. This is a bug-fix release, and if you're usingjim2000-11-281-2/+1 * Bring in the SSL support from the xchat-devel port.jim2000-11-261-0/+5 * Bump PORTREVISION.jim2000-11-231-0/+1 * Update to version 1.6.0, the latest and greatest "stable" version. Whilejim2000-11-161-19/+19 * Fix japanese/xchat which had been broken by the last two commits onknu2000-11-071-2/+7 * Implement WANT_GNOME.reg2000-10-051-35/+19 * Whitespace changes, and sort PLISTs.reg2000-10-031-35/+35 * Prepare for slave (satellite) ports.knu2000-10-011-4/+3 * Clean up the PLIST handling. There is now only one PLIST to maintain.jim2000-09-081-4/+2 * Update to version 1.4.3. According to the author, this release fixes somejim2000-08-271-1/+1 * Knock the version back to 1.4.2 due to popular demand. There is now anjim2000-08-261-14/+3 * Update to version 1.5.6jim2000-07-281-1/+1 * Update to version 1.5.5jim2000-06-281-1/+1 * Update to version 1.5.4.jim2000-06-201-1/+1 * Fix up the GNOME dependencies and use devel/gettext instead of xchat's ownjim2000-06-131-6/+10 * If we have gnomecore, we have gdk-pixbuf too.jim2000-06-061-0/+4 * Update to version 1.5.3, and add a WITH_GDK_PIXBUF knob.jim2000-06-061-2/+14 * Updates for new shared library versions in GNOME 1.2ade2000-06-021-2/+2 * Enable NLS support. It works now!jim2000-05-261-1/+1 * Update to version 1.5.2.jim2000-05-261-1/+1 * Whoops, 1.4 in the MASTER_SITES should be 1.5. I guess that's what I getjim2000-04-261-2/+2 * Update to version 1.5.0.jim2000-04-251-1/+1 * whitespace nitsmharo2000-04-221-26/+26 * Standardize all user defined options to the booleans WITH_FOO andreg2000-04-171-6/+6 * Add SOCKS support.jim2000-04-151-0/+7 * Convert to the PORTNAME - PORTVERSION syntax.obrien2000-04-121-2/+2 * Update to version 1.4.2.jim2000-04-071-2/+2 * Update to version 1.4.1jim2000-03-101-2/+2 * Say hello to xchat-1.4.0. This is the first 'stable' release in aboutjim2000-02-121-4/+4 * Update to version 1.3.14.jim2000-02-091-2/+2 * Update to 1.3.13.jim2000-01-311-2/+2 * Update to version 1.3.12jim2000-01-251-2/+2 * Update to version 1.3.11.jim2000-01-201-3/+9 * Update to version 1.3.10jim2000-01-071-2/+2 * Fix MASTER_SITES so this distfile is actually fetchable now.jim1999-12-231-2/+2 * Update to version 1.3.8jim1999-11-231-2/+2 * Updated to version 1.3.7jim1999-11-101-5/+2 * Update to version 1.3.6. This version is the first with pythonjim1999-11-031-3/+6 * Depend on gnomelibs if USE_GNOME is definedjim1999-10-261-0/+3 * Updated to version 1.3.5jim1999-10-251-3/+3 * Use updated imlib library.nakai1999-10-081-1/+1 * Updated to version 1.3.4jim1999-10-051-2/+2 * Updated to version 1.3.3jim1999-10-021-4/+5 * Updated to version 1.2.1jim1999-09-191-2/+2 * Fixed download path in MASTER_SITES.jim1999-09-021-2/+2 * Updated to version 1.2.0jim1999-09-011-3/+2 * Added imlib dependency.jim1999-08-311-1/+2 * Updated to version 1.1.9jim1999-08-301-2/+2 * Change Id->FreeBSD.obrien1999-08-251-1/+1 * chmod -> ${CHMOD}mharo1999-08-231-2/+2 * Updated to version 1.1.8.jim1999-08-161-3/+3 * Updated to version 1.1.7jim1999-08-121-8/+6 * Update to version 1.1.6cpiazza1999-08-011-5/+5 * Allow for a USE_GNOME and USE_PANEL option to enable theircpiazza1999-07-211-2/+14 * Update to version 1.1.3cpiazza1999-07-191-3/+3 * Update to 1.1.2cpiazza1999-07-171-4/+4 * Update to version 1.1.0.cpiazza1999-07-051-9/+10 * Update to xchat-1.0.0cpiazza1999-07-011-3/+3 * New ports/{java,irc,x11-servers} categories, Step #4 - Adjust new Makefiles.billf1999-06-281-2/+2 * Update xchat to 0.9.9.cpiazza1999-06-211-4/+4 * Update to version 0.9.6.steve1999-06-091-4/+4 * Update to use gtk version 1.2.3.steve1999-05-291-5/+6 * Update to version 0.9.5.steve1999-05-101-6/+16 * Scratch that last one. The PR was really 10829.steve1999-03-311-1/+1 * Update to version 0.9.4.steve1999-03-311-3/+3 * Update to 0.9.3flathill1999-03-211-6/+10 * Update 0.5.1 -> 0.9.1.nectar1999-03-061-5/+5 * Upgrade to 0.5.1.vanilla1999-01-181-7/+8 * Move MASTER_SITES to new location.sada1998-12-091-2/+2 * Typo (PORSDIR -> PORTSDIR).asami1998-11-231-2/+2 * Upgrade to 0.3.1.vanilla1998-11-191-13/+15