# Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= asc PORTVERSION= 2.5.0.0 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}-hq/ASC%20Source/${PORTVERSION:R} \ http://www.asc-hq.org/music/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ASC_MUSICS} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= A turn based, multiplayer strategic game with very nice graphics LICENSE= GPLv2 BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ ${LOCALBASE}/lib/libloki.so:${PORTSDIR}/devel/loki LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \ boost_regex:${PORTSDIR}/devel/boost-libs \ sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \ expat:${PORTSDIR}/textproc/expat2 RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= MUSIC XVID MUSIC_DESC= Install extra music files USES= perl5 pkgconfig USE_BZIP2= yes USE_SDL= image mixer sound sdl USE_WX= 2.4+ WX_CONF_ARGS= absolute USE_LUA= 5.1 LUA_COMPS= lua USE_PERL5= build USE_GMAKE= yes GNU_CONFIGURE= yes MAN6= asc.6 asc_demount.6 asc_mapedit.6 asc_mount.6 \ asc_weaponguide.6 PLIST_FILES= bin/asc bin/asc_demount bin/asc_mapedit bin/asc_mount \ bin/asc_weaponguide \ %%DATADIR%%/asc2_dlg.zip %%DATADIR%%/main.ascdat PLIST_DIRS= ${ASC_MUSICDIR} %%DATADIR%% CFLAGS+= -D_UNICODE_BROKEN_ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib NO_STAGE= yes .include .if ${PORT_OPTIONS:MMUSIC} ASC_MUSICS= frontiers.ogg time_to_strike.ogg machine_wars.ogg ASC_MUSICDIR= %%DATADIR%%/music .for file in ${ASC_MUSICS} PLIST_FILES+= ${ASC_MUSICDIR}/${file} .endfor .else .undef ASC_MUSICS .undef ASC_MUSICDIR .endif .if ${PORT_OPTIONS:MXVID} LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid .else CONFIGURE_ENV+= ac_cv_lib_xvidcore_xvid_encore=no .endif post-extract: .if ${PORT_OPTIONS:MMUSIC} .for file in ${ASC_MUSICS} @${TAR} -C ${DISTDIR}/${DIST_SUBDIR} -cf - ${file} | \ ${TAR} -C ${WRKSRC}/data/music --unlink -xf - .endfor .endif post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|/games/|/|g' @${REINPLACE_CMD} -e \ 's|/games/|/|g ; \ s|lua >=|lua-5.1 >=|g ; \ /if test/s|==|=|g' ${WRKSRC}/configure post-install: @${CAT} ${PKGMESSAGE} .include odash.merge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Add UPDATING entry concerning DRM metaport.jmd2018-10-011-0/+9
* Remove https support and fix Sprint Boot properties in www/libresonic-standal...jlh2018-09-251-0/+18
* Improve UPDATING notice for switch of PHP default version to PHP 7.1.tz2018-09-241-0/+2
* Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.mandree2018-09-221-0/+19
* Switch default PHP version from 5.6 to 7.1tz2018-09-051-0/+14
* Add a note that net/samba48 doesn't depend anymore from databases/ldb13timur2018-09-031-0/+11
* Upgrade to 1.42.01dvl2018-09-021-0/+52
* Switch default version of samba to 4.7antoine2018-09-021-0/+28
* Add an entry for geoipupdate-3.0.0adamw2018-08-141-0/+10
* The PostgreSQL Global Development Group has released an update to all supportedgirgen2018-08-101-0/+9
* Upgrade www/tt-rss to a2d1fa5b14 (07/18/2018).thierry2018-08-071-0/+7
* Add Zabbix Java Gateway portsdbaio2018-08-041-0/+12
* Move the numerical ID for the "_ntp" user, required for net/openntpd'snaddy2018-08-041-0/+15
* Fix a common grammar error: "can not" means the opposite of "cannot."adamw2018-08-021-5/+5
* Amend the UPDATING entry for xorgproto with some more instructions on how tozeising2018-08-011-0/+4
* Use my FreeBSD.org e-mail address.zeising2018-08-011-1/+1
* audio/sndio: Update to 1.5.0tobik2018-08-011-0/+12
* Switch to xorgproto instead of individual packageszeising2018-08-011-0/+9
* New port: security/kc24pi2018-07-281-0/+9
* Upgrade ibus-typing-booster to 2.1.0.thierry2018-07-261-0/+8
* dns/dnsdist: Update to 1.3.2cpm2018-07-141-0/+15
* Updated gitlab to 11.0.2.mfechner2018-07-051-0/+17
* rename devel/bats to devel/bats-core and update to 1.0.2lifanov2018-07-021-0/+7
* - Update to 18.06ashish2018-07-011-0/+6
* Fix typo.madpilot2018-06-281-1/+1
* Added flavors support to drush.mfechner2018-06-261-0/+10
* Remove the composer example, it will mainly confuse people.mat2018-06-131-1/+0
* UPDATING: Document name change of editors/emacs-devel@nox packagejrm2018-06-131-0/+11
* UPDATING: Document new package names for Emacs major version updatejrm2018-06-131-0/+20
* Emacs ports: Improve consistency between the two Emacs ports and...jrm2018-06-131-1/+1
* Add a note about PHP flavors.mat2018-06-121-0/+22
* Due to regression detected on FRR 4.0, preparing re-introduction ofolivier2018-06-021-0/+10
* Upgrade ibus-typing-booster to 2.0.0.thierry2018-05-301-1/+12
* mail/thunderbird: back out r470673 as AMO version lacks libicaljbeich2018-05-231-9/+0
* mail/thunderbird: drop LIGHTNING as it's unusable after r470672jbeich2018-05-231-0/+9
* add tests and FLAVORS to Ansible portslifanov2018-05-181-0/+13
* Added a note to UPDATING about gitlab-pages feature was removed till it is fi...mfechner2018-05-151-0/+10
* net/xrdp{,-devel}: Update to 0.9.6meta2018-05-131-0/+12
* Add the notice to UPDATING that math/suitesparse can only be built when it is...yuri2018-05-081-0/+7
* Reflect changes in www/gitea in r469092krion2018-05-051-0/+9
* www/node: Update 9.11.1_1 -> 10.0.0bhughes2018-05-01