# New ports collection makefile for: allegro # Date created: 23-Feb-2001 # Whom: Jimmy Olgeni # # $FreeBSD$ # PORTNAME= allegro DISTVERSION= 4.3.1 PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF/alleg/${PORTNAME}-unstable/${PORTVERSION} PKGNAMESUFFIX= -devel MAINTAINER= EitanAdlerList@gmail.com COMMENT= A cross-platform library for games and multimedia programming USE_AUTOTOOLS= autoconf:262 USE_GMAKE= yes USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga USE_LDCONFIG= yes WANT_GNOME= yes OPTIONS= AL "Enable OpenAL support" off \ ARTS "Enable Arts support" off \ DEBUG "Build debugging library" off \ DEVEL "Build development utilities" on \ ESOUND "Enable Esound support" off \ JACK "Enable JACK support" off \ OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ PROFILE "Build profiling library" off \ THREADS "Enable threads" on MAKEFILE= makefile ALL_TARGET= full-build MAKE_JOBS_UNSAFE= yes .include "Makefile.man" INFO= allegro CONFLICTS= allegro-[0-9]* LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB= SHLIB_VER="${SHLIB_VER}" DEMO= demo.c demo.dat demo.h music.txt ../readme.txt SHLIB_VER= 43 PORTSCOUT= limit:^4\.3\.[0-9]* .include .if defined(WITH_AL) LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal CONFIGURE_ARGS+=--enable-sgialdigi PLIST_SUB+= AL="" .else CONFIGURE_ARGS+=--disable-sgialdigi PLIST_SUB+= AL="@comment " .endif .if defined(WITH_ARTS) LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts CONFIGURE_ARGS+=--enable-artsdigi PLIST_SUB+= ARTS="" .else CONFIGURE_ARGS+=--disable-artsdigi PLIST_SUB+= ARTS="@comment " .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-dbglib PLIST_SUB+= DEBUG="" .else CONFIGURE_ARGS+=--disable-dbglib PLIST_SUB+= DEBUG="@comment " .endif .if !defined(WITHOUT_DEVEL) INSTALL_TARGET= full-install install-man install-info PLIST_SUB+= DEVEL="" .else INSTALL_TARGET= mini-install install-man install-info PLIST_SUB+= DEVEL="@comment " .endif .if defined(WITH_ESOUND) USE_GNOME+= esound CONFIGURE_ARGS+=--enable-esddigi PLIST_SUB+= ESOUND="" .else CONFIGURE_ARGS+=--disable-esddigi PLIST_SUB+= ESOUND="@comment " .endif .if defined(WITH_JACK) LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack CONFIGURE_ARGS+=--enable-jackdigi PLIST_SUB+= JACK="" .else CONFIGURE_ARGS+=--disable-jackdigi PLIST_SUB+= JACK="@comment " .endif .if defined(WITH_PROFILE) CONFIGURE_ARGS+=--enable-proflib PLIST_SUB+= PROFILE="" .else CONFIGURE_ARGS+=--disable-proflib PLIST_SUB+= PROFILE="@comment " .endif .if !defined(WITHOUT_THREADS) CONFIGURE_ARGS+=--enable-pthreads CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \ LDFLAGS="${PTHREAD_LIBS}" .else CONFIGURE_ARGS+=--disable-pthreads .endif post-patch: # Change "x.y.z" into "xy" in the shared library version. @${REINPLACE_CMD} -e 's|${PORTVERSION}|${SHLIB_VER}|g' \ ${WRKSRC}/makefile.ver # Remove architecture specific optimizations. @${REINPLACE_CMD} -e 's|$$TARGET_ARCH||g' \ ${CONFIGURE_WRKSRC}/configure.in # Remove "-ffast-math" flag on alpha, because it breaks. .if ${ARCH} == "alpha" @${REINPLACE_CMD} -e 's|-ffast-math||g' \ ${CONFIGURE_WRKSRC}/configure.in .endif # Threading libraries. @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/aclocal.m4 # Enable/disable compilation optimizations. .if defined(WITHOUT_OPTIMIZED_CFLAGS) @${REINPLACE_CMD} -e 's|-O2||g ; \ s|-ffast-math||g ; \ s|-fomit-frame-pointer||g ; \ s|-funroll-loops||g' \ ${CONFIGURE_WRKSRC}/configure.in .endif post-install: # Documentation. .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/*.css ${DOCSDIR} # Examples. @${MKDIR} ${EXAMPLESDIR} ${INSTALL_PROGRAM} ${WRKSRC}/demo/demo ${EXAMPLESDIR} . for f in ${DEMO} ${INSTALL_DATA} ${WRKSRC}/demo/${f} ${EXAMPLESDIR} . endfor .endif .include l/electron6/files/node-fetch-2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/hebrew
Commit message (Expand)AuthorAgeFilesLines
* The KDE FreeBSD team is proud to announce the releasemiwi2008-08-292-6/+6
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0
* The KDE FreeBSD team is proud to announce the releasemiwi2008-08-184-20/+128
* - Reset maintainer address:pav2008-06-191-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-062-1/+2
* Unbreak by fixing some old code. Fix a typo in pkg-descr.mi2008-05-223-8/+13
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-203-13/+11
* Fix distfile location for outdated koffice-l10ns.lofi2007-11-091-1/+1
* Update to KDE 3.5.8lofi2007-10-304-8/+6
* Revert more PORTREVISION accidentslofi2007-07-051-0/+1
* Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-045-9/+6
* BROKEN with gcc 4.2kris2007-05-271-1/+7
* - Welcome X.org 7.2 \o/.flz2007-05-206-1/+6
* Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-144-6/+10
* Really normalize Aspell dictionaries ports PKGVERSION...thierry2007-02-151-1/+1
* Upgrade to 1.0-0.thierry2007-02-132-4/+4
* Normalize Aspell dictionaries PKGNAMEs.thierry2007-01-141-0/+1
* Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-204-6/+122
* KDE 3.5.4 / KOffice 1.5.2lofi2006-09-136-10/+12
* All dictionaries can be installed separately:thierry2006-07-154-7/+17
* Update to KDE 3.5.3lofi2006-06-064-22/+20
* Update to KOffice 1.5.1lofi2006-05-272-4/+4
* Update to KOffice 1.5.0lofi2006-04-293-22/+8
* Update to KDE 3.5.2lofi2006-03-314-128/+22
* Conversion to a single libtool environment.ade2006-02-231-1/+1
* Update to KDE 3.5.1.lofi2006-02-014-8/+18
* SHA256ifyedwin2006-01-224-0/+4
* Update to KDE 3.5.0lofi2006-01-094-74/+82
* - Add SHA256pav2005-11-251-0/+1
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1
* Update to 0.101mnag2005-11-072-3/+3
* Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-054-6/+34
* Remove all the secondary port of editors/ooodict-allmaho2005-11-012-20/+0
* Fix index build by moving openoffice.org-1.1 ports.maho2005-08-291-1/+1
* Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-012-4/+4
* Update to KDE 3.4.1lofi2005-06-264-22/+30
* - Fix categoriespav2005-06-061-0/+1
* - Unbreak and general updatepav2005-06-062-0/+19
* change the libtool version to use from 1.3 to 1.5oliver2005-06-031-1/+1
* Update to KDE 3.4lofi2005-03-214-78/+34
* Add i18nized doc subdirs to kdehier and adjust i18n port plists accordingly.lofi2004-12-232-2/+0
* Fix kde3-i18n ports.lofi2004-12-162-4/+4
* Update to KDE 3.3.2lofi2004-12-148-12/+12
* Update to 0.8arved2004-12-025-30/+12
* - Update maintainer's email addresspav2004-11-152-4/+4
* Update to KDE 3.3.1lofi2004-11-086-7/+35
* As previously announced, remove hebrew/pine due to security problems.linimon2004-10-23