diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 23:00:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 23:00:49 +0800 |
commit | 859c2d64ea19151b528d84327c7752fb05bfaad7 (patch) | |
tree | 72cfb9655c7bec917beecdadbaf1ac92aa475577 /cad | |
parent | aae2479e4f5a0266b94ea311980cf43bd3456645 (diff) | |
download | freebsd-ports-gnome-859c2d64ea19151b528d84327c7752fb05bfaad7.tar.gz freebsd-ports-gnome-859c2d64ea19151b528d84327c7752fb05bfaad7.tar.zst freebsd-ports-gnome-859c2d64ea19151b528d84327c7752fb05bfaad7.zip |
- Switch to options helpers
Diffstat (limited to 'cad')
-rw-r--r-- | cad/electric/Makefile | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile index 4e4ddf65c24a..b3652e399726 100644 --- a/cad/electric/Makefile +++ b/cad/electric/Makefile @@ -13,29 +13,21 @@ COMMENT= Sophisticated electrical CAD system GNU_CONFIGURE= yes -OPTIONS_DEFINE= T1LIB NLS OPTIMIZED_CFLAGS -OPTIONS_DEFAULT= T1LIB -T1LIB_DESC= Use T1lib Type1 font library - USES= motif -.include <bsd.port.options.mk> - -FEATURES+= MOTIF +FEATURES= MOTIF -.if ${PORT_OPTIONS:MT1LIB} -LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib -FEATURES+= T1LIB -.endif +OPTIONS_DEFINE= T1LIB NLS OPTIMIZED_CFLAGS +OPTIONS_DEFAULT=T1LIB +T1LIB_DESC= Use T1lib Type1 font library -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -FEATURES+= INT -.endif +T1LIB_LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib +T1LIB_VARS= FEATURES+=T1LIB +NLS_USES= gettext +NLS_VARS= FEATURES+=INT +OPTIMIZED_CFLAGS_VARS= FEATURES+=OPT -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -FEATURES+= OPT -.endif +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e 's|/usr/share/electric/lib/|${DATADIR}/lib/|; \ |