diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-20 18:17:10 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-20 18:17:10 +0000 |
commit | 2ba17ce7d0426a03ac55652a7393a29ea26267a4 (patch) | |
tree | 23b2801f159044b1d5c02608bf9a0fdd1583984e /textproc/libebml | |
parent | 542371959d730d60ff9482c563df2b252a89e7c5 (diff) | |
download | ports-2ba17ce7d0426a03ac55652a7393a29ea26267a4.tar.gz ports-2ba17ce7d0426a03ac55652a7393a29ea26267a4.zip |
Notes
Diffstat (limited to 'textproc/libebml')
-rw-r--r-- | textproc/libebml/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/textproc/libebml/Makefile b/textproc/libebml/Makefile index b7b87077acea..56ec12773177 100644 --- a/textproc/libebml/Makefile +++ b/textproc/libebml/Makefile @@ -12,24 +12,18 @@ COMMENT= EBML (Extensible Binary Meta Language), sort of binary version of XML LICENSE= LGPL21 +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes BUILD_WRKSRC= ${WRKSRC}/make/linux INSTALL_WRKSRC= ${WRKSRC}/make/linux USE_LDCONFIG= yes -# Installs dir with proper permissions -INSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 - -NO_STAGE= yes -do-configure: - @${REINPLACE_CMD} -E \ - -e 's|^(prefix)[[:space:]]*=.*$$|\1=${PREFIX}|; \ - s,^(CXX|LD)[[:space:]]*=.*$$,\1=${CXX},; \ - s|^(CXXFLAGS)[[:space:]]*=(.*)$$|\1+=\2|; \ - s|^(INSTALL)[[:space:]]*=.*$$|\1=|; \ - s|^(INSTALL_DIR_OPTS)[[:space:]]*=.*$$|\1=${INSTALL_DATA_DIR}|; \ - s,^(INSTALL_OPTS_LIB|INSTALL_OPTS)[[:space:]]*=.*$$,\1=${INSTALL_DATA},' \ - ${WRKSRC}/make/linux/Makefile +MAKE_ARGS= INSTALL_DIR_OPTS="${INSTALL} -d -m 755" \ + INSTALL_OPTS="${INSTALL_DATA}" \ + INSTALL_OPTS_LIB="${INSTALL_LIB}" \ + INSTALL="" \ + prefix=${STAGEDIR}${PREFIX} \ + CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS}" .include <bsd.port.mk> |