diff options
author | pav <pav@FreeBSD.org> | 2006-12-01 15:39:02 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-12-01 15:39:02 +0800 |
commit | 92d21b3194c49cedf08339e7514171807a9c6196 (patch) | |
tree | 9c146b3b2fdea9918389f3184052481e51ccf2f9 /databases/pgadmin3-12 | |
parent | 977deb3eb313758a6e81aa2d1d05565d53d51455 (diff) | |
download | freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.gz freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.zst freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.zip |
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613
Submitted by: alepulver
Diffstat (limited to 'databases/pgadmin3-12')
-rw-r--r-- | databases/pgadmin3-12/Makefile | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/databases/pgadmin3-12/Makefile b/databases/pgadmin3-12/Makefile index 0b531fc08f81..e71b07a20be0 100644 --- a/databases/pgadmin3-12/Makefile +++ b/databases/pgadmin3-12/Makefile @@ -16,8 +16,10 @@ MAINTAINER= fjoe@FreeBSD.org COMMENT= PostgreSQL database design and management system USE_PGSQL= yes +USE_WX= 2.6 +WX_COMPS= contrib +WX_CONF_ARGS= relative GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-wx=${X11BASE} --with-wx-config=${WX_CONFIG} CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}" CONFLICTS= pgadmin3-1.[456789]* @@ -25,26 +27,12 @@ NO_LATEST_LINK= yes .include <bsd.port.pre.mk> -.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.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-unicode-contrib -WX_CONFIG= wxgtk2u-2.6-config +.if defined(WX_UNICODE) PKGNAMESUFFIX= -unicode PKGMESSAGE= ${PKGDIR}/pkg-message-unicode post-install: @${CAT} ${PKGMESSAGE} -.else -LIB_DEPENDS+= wx_gtk2_stc-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-contrib -WX_CONFIG= wxgtk2-2.6-config -.endif # WITHOUT_UNICODE +.endif .include <bsd.port.post.mk> |