2015-03-16 18:07:34 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2015/03/16 18:07:55 naddy Exp $
|
2003-06-14 15:05:28 +00:00
|
|
|
|
2007-09-15 23:29:57 +00:00
|
|
|
COMMENT= library and utilities for towitoko card readers
|
2003-06-14 15:05:28 +00:00
|
|
|
|
|
|
|
DISTNAME= towitoko-2.0.7
|
2015-03-16 18:07:34 +00:00
|
|
|
REVISION = 2
|
2003-06-14 15:05:28 +00:00
|
|
|
CATEGORIES= security
|
2005-12-25 15:52:38 +00:00
|
|
|
SHARED_LIBS= towitoko 2.0
|
|
|
|
MODGNU_SHARED_LIBS= towitoko '-module'
|
2003-06-14 15:05:28 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.geocities.com/cprados/
|
|
|
|
|
2003-06-14 15:12:44 +00:00
|
|
|
# LGPL
|
2003-06-14 15:05:28 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2004-12-27 13:28:33 +00:00
|
|
|
WANTLIB= c pthread
|
2003-06-14 15:05:28 +00:00
|
|
|
|
|
|
|
MASTER_SITES= http://www.geocities.com/cprados/files/
|
|
|
|
|
2010-11-20 17:22:40 +00:00
|
|
|
USE_GROFF = Yes
|
2005-12-25 15:52:38 +00:00
|
|
|
|
2003-06-14 15:05:28 +00:00
|
|
|
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>
|