diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
commit | 9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch) | |
tree | 8583dfe71adaea6ce266633e1799cd602516b801 /games/lincity | |
parent | 25c4307da135103ea810d65f96f2f1c21e0547b4 (diff) | |
download | ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip |
Notes
Diffstat (limited to 'games/lincity')
-rw-r--r-- | games/lincity/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile index 2555d8ffc660..e18e55b68fb0 100644 --- a/games/lincity/Makefile +++ b/games/lincity/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: lincity -# Date created: 13 Feb 1997 -# Whom: Julian Assange -# +# Created by: Julian Assange # $FreeBSD$ -# PORTNAME= lincity PORTVERSION= 1.13.1 @@ -14,6 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Rich city simulation game for X +OPTIONS_DEFINE= SVGALIB NLS + LIB_DEPENDS= png15:${PORTSDIR}/graphics/png .if ${CC} == "clang" @@ -27,10 +25,12 @@ LDFLAGS+= -L${LOCALBASE}/lib MAN6= lincity.6 +.include <bsd.port.options.mk> + pre-configure: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c -.if defined(WITH_SVGALIB) +.if ${PORT_OPTIONS:MSVGALIB} LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib CONFIGURE_ARGS+= --without-x PLIST_SUB= PROG="bin/lincity" @@ -40,7 +40,7 @@ CONFIGURE_ARGS+= --without-svga PLIST_SUB= PROG="bin/xlincity" .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else |