openbsd-ports/converters/d1489/Makefile

32 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/09/04 19:01:11 jasper Exp $
COMMENT= cp866<>koi8-r & cp1251<>koi8-r decoders and font converter
DISTNAME= d1489-1.5.1
CATEGORIES= converters
MASTER_SITES= http://koi8.pp.ru/dist/
EXTRACT_SUFX= .tgz
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
NO_REGRESS= Yes
MAKE_FLAGS= LOCAL_CFLAGS=-DHAVE_MKSTEMP LOCAL_LDFLAGS=""
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/todos ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/a2kfcnv ${PREFIX}/bin
cd ${PREFIX}/bin; ln -s todos fromdos; ln -s todos fromwin; \
ln -s todos towin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/d1489
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/d1489
.include <bsd.port.mk>