aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubber/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-23 16:21:59 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-23 16:21:59 +0000
commit58a68c47ca12511df0970812ff6508b5851895b7 (patch)
treea2fc0a1f05c3b5d62b5b8ccdf6bf3634668dedc9 /textproc/rubber/Makefile
parent897fe207a971877404e6601b8fa182d1d0a6d9b6 (diff)
downloadports-58a68c47ca12511df0970812ff6508b5851895b7.tar.gz
ports-58a68c47ca12511df0970812ff6508b5851895b7.zip
Notes
Diffstat (limited to 'textproc/rubber/Makefile')
-rw-r--r--textproc/rubber/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/textproc/rubber/Makefile b/textproc/rubber/Makefile
index 7441b2b368d8..6c4e7eaf61a4 100644
--- a/textproc/rubber/Makefile
+++ b/textproc/rubber/Makefile
@@ -12,22 +12,21 @@ COMMENT= Wrapper for LaTeX and friends
LICENSE= GPLv2
-USE_PYTHON= 2
+NO_ARCH= yes
+
+USES= gmake makeinfo python:2
USE_TEX= latex
-USES= gmake makeinfo
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --infodir=${PREFIX}/${INFO_PATH} \
- --datadir=${PYTHON_SITELIBDIR} --python=${PYTHON_CMD}
+ --datadir=${PYTHONPREFIX_SITELIBDIR} --python=${PYTHON_CMD}
+
+PLIST_SUB= PYDISTUTILS_EGGINFO="${PYDISTUTILS_EGGINFO}"
-MANLANG= "" fr
-MAN1= rubber.1 rubber-info.1 rubber-pipe.1
INFO= rubber
-NO_STAGE= yes
-post-install:
- @${FIND} ${PYTHON_SITELIBDIR}/rubber ! -type d | ${SED} \
- 's,${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${PYTHON_SITELIBDIR}/rubber -type d | ${SORT} -r | ${SED} \
- 's,${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|\($${prefix}\)$$|\1 --root="$${DESTDIR}"|' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>