pkgsrc/textproc/writer2latex/Makefile
jlam 9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00

42 lines
1,000 B
Makefile

# $NetBSD: Makefile,v 1.5 2006/03/04 21:30:52 jlam Exp $
#
DISTNAME= ${W2L}beta2
PKGNAME= writer2latex-0.4b2
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.hj-gym.dk/~hj/writer2latex/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hj-gym.dk/~hj/writer2latex/
COMMENT= Convert OpenOffice.org/StarOffice documents to LaTeX and other formats
WRKSRC= ${WRKDIR}/${W2L}
USE_JAVA2= yes
USE_JAVA= run
W2L= writer2latex04
W2LPATH= ${PREFIX}/share/${W2L}
INSTALLATION_DIRS= bin
do-configure:
.for scr in w2l
${SED} -e 's|^\(java\)|${PKG_JAVA_HOME}/bin/\1|' \
-e 's|^\(W2LPATH\).*|\1="${W2LPATH}"|' \
-e 's|bash|sh|g' \
< ${WRKSRC}/${scr} > ${WRKSRC}/${scr}.new
${MV} ${WRKSRC}/${scr}.new ${WRKSRC}/${scr}
.endfor
do-build:
${RM} -rf ${WRKSRC}/source
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/w2l ${PREFIX}/bin/w2l
${INSTALL_DATA_DIR} ${W2LPATH}
${CP} -R ${WRKSRC}/* ${W2LPATH}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"