- Switch to USES=libtool:build

- Use @sample
This commit is contained in:
Tijl Coosemans 2014-09-19 15:48:35 +00:00
parent 87ffe19901
commit d60589d175
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368573
2 changed files with 3 additions and 6 deletions

View file

@ -14,13 +14,12 @@ LICENSE= GPLv2
LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa
USES= bison gmake libtool
USES= bison gmake libtool:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
--with-etcdir=${PREFIX}/etc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_AUTOTOOLS= libtoolize
LIBS+= -L${LOCALBASE}/lib
ALL_TARGET= dict
INSTALL_TARGET= install.dict

View file

@ -1,9 +1,7 @@
bin/dict
bin/dict_lookup
bin/dictl
@sample etc/dict.conf.sample
man/man1/dict.1.gz
man/man1/dictl.1.gz
man/man1/dict_lookup.1.gz
@unexec if cmp -s %D/etc/dict.conf.sample %D/etc/dict.conf; then rm -f %D/etc/dict.conf; fi
etc/dict.conf.sample
@exec [ -f %B/dict.conf ] || cp %B/%f %B/dict.conf