openbsd-ports/security/towitoko/Makefile
2013-03-21 08:45:11 +00:00

34 lines
782 B
Makefile

# $OpenBSD: Makefile,v 1.11 2013/03/21 08:48:53 ajacoutot Exp $
COMMENT= library and utilities for towitoko card readers
DISTNAME= towitoko-2.0.7
REVISION = 1
CATEGORIES= security
SHARED_LIBS= towitoko 2.0
MODGNU_SHARED_LIBS= towitoko '-module'
HOMEPAGE= http://www.geocities.com/cprados/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c pthread
MASTER_SITES= http://www.geocities.com/cprados/files/
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static
EXAMPLES= doc/reader.conf
post-install:
@perl -pi -e "s,%%PREFIX%%,${TRUEPREFIX}," ${WRKSRC}/doc/reader.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/towitoko
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} \
${PREFIX}/share/examples/towitoko
.include <bsd.port.mk>