2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
|
2005-01-14 22:41:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= clit
|
|
|
|
PORTVERSION= ${MAJ_VER}.${MIN_VER}
|
|
|
|
CATEGORIES= textproc
|
2006-03-07 21:20:24 +01:00
|
|
|
MASTER_SITES= http://www.convertlit.com/:clit \
|
2008-03-25 10:53:44 +01:00
|
|
|
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:clit \
|
|
|
|
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:ltm
|
2006-03-07 21:20:24 +01:00
|
|
|
DISTFILES= clit${MAJ_VER}${MIN_VER}src.zip:clit \
|
2005-01-14 22:41:42 +01:00
|
|
|
ltm-0.33.tar.bz2:ltm
|
|
|
|
EXTRACT_ONLY= clit${MAJ_VER}${MIN_VER}src.zip
|
|
|
|
|
2012-12-07 22:11:56 +01:00
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
2005-01-14 22:41:42 +01:00
|
|
|
COMMENT= Microsoft Lit to HTML and Open eBooks converter
|
|
|
|
|
2015-11-05 13:36:25 +01:00
|
|
|
PATCH_WRKSRC= ${WRKSRC}/${PORTNAME}${MAJ_VER}${MIN_VER}
|
2005-01-14 22:41:42 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
MAJ_VER= 1
|
|
|
|
MIN_VER= 8
|
|
|
|
|
|
|
|
PLIST_FILES= bin/clit
|
|
|
|
|
2014-03-10 18:25:25 +01:00
|
|
|
USES= dos2unix gmake zip
|
2005-01-14 22:41:42 +01:00
|
|
|
|
|
|
|
post-extract:
|
2015-11-05 13:36:25 +01:00
|
|
|
cd ${WRKSRC} && ${BZIP2_CMD} -dc "${DISTDIR}/ltm-0.33.tar.bz2" | \
|
2005-01-14 22:41:42 +01:00
|
|
|
${TAR} -xf -
|
|
|
|
|
|
|
|
do-build:
|
2015-11-05 13:36:25 +01:00
|
|
|
cd ${WRKSRC}/libtommath-0.33 && \
|
2005-01-14 22:41:42 +01:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} -f makefile libtommath.a
|
2015-11-05 13:36:25 +01:00
|
|
|
cd ${WRKSRC}/lib && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile all
|
|
|
|
cd ${WRKSRC}/${PORTNAME}${MAJ_VER}${MIN_VER} && \
|
2014-06-25 07:35:31 +02:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile all
|
2005-01-14 22:41:42 +01:00
|
|
|
|
|
|
|
do-install:
|
2015-11-05 13:36:25 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${MAJ_VER}${MIN_VER}/clit \
|
2014-01-22 17:23:13 +01:00
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2005-01-14 22:41:42 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|