freebsd-ports/databases/pgadmin3-12/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pgadmin3
# Date created: November 4, 2003
# Whom: Max Khon
#
# $FreeBSD$
#
PORTNAME= pgadmin3
2005-01-08 19:05:22 +01:00
PORTVERSION= 1.2.0
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
MAINTAINER= fjoe@FreeBSD.org
COMMENT= PostgreSQL database design and management system
USE_PGSQL= yes
2004-06-27 23:18:25 +02:00
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx=${X11BASE}
2004-06-27 23:18:25 +02:00
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
2005-01-08 19:05:22 +01:00
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
post-install:
@${CAT} ${PKGMESSAGE}
2004-06-27 23:18:25 +02:00
.include <bsd.port.pre.mk>
2004-06-27 23:18:25 +02:00
.if ${OSVERSION} < 500000
WITHOUT_UNICODE= yes
.endif
pre-everything::
.if !defined(WITHOUT_UNICODE)
@${ECHO_MSG} "You can build non-Unicode version by defining WITHOUT_UNICODE."
.endif
.if !defined(WITHOUT_UNICODE)
LIB_DEPENDS+= wx_gtk2u_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.5-config
PKGNAMESUFFIX= -unicode
PKGMESSAGE= ${PKGDIR}/pkg-message-unicode
.else
LIB_DEPENDS+= wx_gtk2_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.5-config
.endif # WITHOUT_UNICODE
.include <bsd.port.post.mk>