openbsd-ports/security/towitoko/Makefile

39 lines
916 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2007/09/15 23:30:01 merdely Exp $
COMMENT= library and utilities for towitoko card readers
DISTNAME= towitoko-2.0.7
2005-12-25 10:52:38 -05:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= security
2005-12-25 10:52:38 -05:00
SHARED_LIBS= towitoko 2.0
MODGNU_SHARED_LIBS= towitoko '-module'
HOMEPAGE= http://www.geocities.com/cprados/
2004-07-04 19:40:05 -04:00
MAINTAINER= Michael Coulter <mjc@openbsd.org>
2003-06-14 11:12:44 -04:00
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-27 08:28:33 -05:00
WANTLIB= c pthread
MASTER_SITES= http://www.geocities.com/cprados/files/
2005-12-25 10:52:38 -05:00
USE_LIBTOOL= 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>