diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-09-25 00:05:33 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-09-25 00:05:33 +0800 |
commit | 11ae291f7bf0e0b04ffbc4d51f22bffce1277268 (patch) | |
tree | ceb70d82ee331b705bac43a8086894ebc45b6425 /converters | |
parent | 22d99ef06eb5d0675db2a8c0eebd975a036c2ab2 (diff) | |
download | freebsd-ports-gnome-11ae291f7bf0e0b04ffbc4d51f22bffce1277268.tar.gz freebsd-ports-gnome-11ae291f7bf0e0b04ffbc4d51f22bffce1277268.tar.zst freebsd-ports-gnome-11ae291f7bf0e0b04ffbc4d51f22bffce1277268.zip |
Support stagedir.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/lua-iconv/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converters/lua-iconv/Makefile b/converters/lua-iconv/Makefile index 024c12091090..532b7789a1f9 100644 --- a/converters/lua-iconv/Makefile +++ b/converters/lua-iconv/Makefile @@ -16,13 +16,13 @@ USES= pkgconfig iconv PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%INCDIR%%|-I${PREFIX}/include| ; \ s|%%LIBDIR%%|-L${PREFIX}/lib|; \ s|%%ICONV_LIB%%|${ICONV_LIB}|' ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/iconv.so ${LUA_MODLIBDIR} + @if [ ! -d ${STAGEDIR}${LUA_MODLIBDIR} ]; then ${MKDIR} ${STAGEDIR}/${LUA_MODLIBDIR}; fi + @${INSTALL_PROGRAM} ${WRKSRC}/iconv.so ${STAGEDIR}/${LUA_MODLIBDIR} .include <bsd.port.mk> |