diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-01 07:39:02 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-01 07:39:02 +0000 |
commit | d750615763ee2d3250de2115295079f66d813d1f (patch) | |
tree | 05b94e79be3ac272b9b617e50fc723ea52c6cf34 /databases/pgadmin3-12 | |
parent | 767bcfc72cf9c3574739d745cff6620fa75b0e74 (diff) |
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613
Submitted by: alepulver
Notes
Notes:
svn path=/head/; revision=178433
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> |