2007-09-15 21:40:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2007/09/16 01:40:28 merdely Exp $
|
2001-05-05 19:11:14 -04:00
|
|
|
|
2007-09-15 21:40:27 -04:00
|
|
|
COMMENT= character encoding converter generator package
|
1998-04-29 01:10:28 -04:00
|
|
|
|
|
|
|
DISTNAME= trans120
|
2005-09-05 09:48:52 -04:00
|
|
|
PKGNAME= trans-1.20p0
|
1998-04-29 01:10:28 -04:00
|
|
|
CATEGORIES= converters russian
|
|
|
|
|
2007-09-15 21:40:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= no fee
|
2000-03-13 23:21:59 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 21:40:27 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= no fee
|
2000-03-13 23:21:59 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 17:53:58 -05:00
|
|
|
WANTLIB= c
|
2000-03-13 23:21:59 -05:00
|
|
|
|
1998-10-08 00:09:12 -04:00
|
|
|
MASTER_SITES= http://www.kostis.net/freeware/
|
|
|
|
|
1998-04-29 01:10:28 -04:00
|
|
|
LIBDIR= ${PREFIX}/lib/trans
|
|
|
|
ALL= transhtm transiso transce8 transtab checkiso checkuni
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/src && $(INSTALL_PROGRAM) $(ALL) ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/src && \
|
|
|
|
for i in $(ALL); do \
|
2000-12-19 10:24:53 -05:00
|
|
|
$(INSTALL_MAN) $$i.man ${PREFIX}/man/cat1/$$i.0; \
|
1998-04-29 01:10:28 -04:00
|
|
|
done
|
2001-03-13 03:07:58 -05:00
|
|
|
${INSTALL_DATA_DIR} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
1998-04-29 01:10:28 -04:00
|
|
|
${LIBDIR}/cedf ${LIBDIR}/xlt ${LIBDIR}/doc ${LIBDIR}/bin \
|
|
|
|
${LIBDIR}/src
|
|
|
|
cd ${WRKSRC}/src && \
|
|
|
|
$(INSTALL_SCRIPT) checkall chkuni mkhtml mklist mkxlt \
|
|
|
|
${LIBDIR}/src
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
$(INSTALL_DATA) README encoding.lis ${LIBDIR}
|
|
|
|
cd ${WRKSRC}/src && \
|
|
|
|
$(INSTALL_DATA) datatype.h ${LIBDIR}/src
|
|
|
|
cd ${WRKSRC}/bin && \
|
|
|
|
$(INSTALL_DATA) one trans.[ch] trans.man utimbuf.h utf.[ch] \
|
|
|
|
${LIBDIR}/bin
|
|
|
|
cd ${WRKSRC}/cedf && $(INSTALL_DATA) * ${LIBDIR}/cedf
|
|
|
|
cd ${WRKSRC}/doc && $(INSTALL_DATA) * ${LIBDIR}/doc
|
|
|
|
cd ${WRKSRC}/xlt && $(INSTALL_DATA) * ${LIBDIR}/xlt
|
|
|
|
|
2001-10-07 11:34:10 -04:00
|
|
|
REGRESS_TARGET= check
|
|
|
|
REGRESS_DEPENDS=::converters/trans
|
1998-04-29 01:10:28 -04:00
|
|
|
.include <bsd.port.mk>
|