43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2001/03/13 08:07:58 angelos Exp $
|
|
|
|
DISTNAME= trans120
|
|
PKGNAME= trans-1.20
|
|
CATEGORIES= converters russian
|
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.kostis.net/freeware/
|
|
|
|
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 \
|
|
$(INSTALL_MAN) $$i.man ${PREFIX}/man/cat1/$$i.0; \
|
|
done
|
|
${INSTALL_DATA_DIR} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|