diff options
author | clsung <clsung@FreeBSD.org> | 2006-08-14 13:08:22 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-08-14 13:08:22 +0800 |
commit | ab3ac8b0bee94ed6480431d7ed0c821e68af74c0 (patch) | |
tree | 6bba9ba1f7cf39785b3880183154bcb00ccfd745 /japanese/mecab | |
parent | 49eb45056104af820a3af5c0591f5698f104f609 (diff) | |
download | freebsd-ports-gnome-ab3ac8b0bee94ed6480431d7ed0c821e68af74c0.tar.gz freebsd-ports-gnome-ab3ac8b0bee94ed6480431d7ed0c821e68af74c0.tar.zst freebsd-ports-gnome-ab3ac8b0bee94ed6480431d7ed0c821e68af74c0.zip |
- Respect DESTDIR
- Use USE_LDCONFIG
PR: ports/101878
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Diffstat (limited to 'japanese/mecab')
-rw-r--r-- | japanese/mecab/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile index d995258484ed..941666a95bb2 100644 --- a/japanese/mecab/Makefile +++ b/japanese/mecab/Makefile @@ -21,10 +21,10 @@ SUB_DIR= 21187 USE_ICONV= yes USE_PERL5_BUILD= yes GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes -CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I ${PREFIX}/include" \ - LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I ${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" # Default charset (euc-jp/shift_jis/utf-8) .if defined(WITH_CHARSET) @@ -50,8 +50,8 @@ post-configure: ${CP} ${WRKSRC}/mecabrc ${WRKSRC}/mecabrc.dist post-install: - @if [ ! -f ${PREFIX}/etc/mecabrc ]; then \ - ${INSTALL_DATA} ${PREFIX}/etc/mecabrc.dist ${PREFIX}/etc/mecabrc; \ + @if [ ! -f ${TARGETDIR}/etc/mecabrc ]; then \ + ${INSTALL_DATA} ${TARGETDIR}/etc/mecabrc.dist ${TARGETDIR}/etc/mecabrc; \ fi .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |