aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/pcmanx/Makefile
blob: dca641c69bacbf0328ced52af6d1dd62cea7a6cf (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
# New ports collection makefile for:   pcmanx
# Date created:                2005/07/16
# Whom:                        chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   pcmanx
PORTVERSION=    0.2.6
CATEGORIES= chinese net
MASTER_SITES=   http://pcmanx.csie.net/release/ \
        http://bbs.ilc.edu.tw/~chinsan/pcmanx/
DISTNAME=   pcmanx-pure-gtk2-${PORTVERSION}

# Maintainership available: drop me a line if interested :p
MAINTAINER= chinsan.tw@gmail.com
COMMENT=    PCManX is a BBS client using GTK+ 2.x

USE_GNOME=  gtk20 intlhack
USE_LIBTOOL_VER=15
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.mk>