2007-09-15 19:29:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2007/09/15 23:30:01 merdely Exp $
|
2004-12-20 17:42:22 -05:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= GUI to manage a certification authority
|
2004-12-20 17:42:22 -05:00
|
|
|
|
2006-12-04 21:27:28 -05:00
|
|
|
DISTNAME= tinyca2-0.7.5
|
2007-05-29 22:34:43 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2004-12-20 17:42:22 -05:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2006-07-14 14:59:51 -04:00
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
2004-12-20 17:42:22 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://tinyca.sm-zone.net/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
2007-05-29 22:34:43 -04:00
|
|
|
RUN_DEPENDS= ::archivers/zip \
|
2004-12-20 17:42:22 -05:00
|
|
|
::devel/p5-Locale-gettext \
|
2006-07-14 14:59:51 -04:00
|
|
|
::x11/p5-Gtk2
|
2007-05-29 22:34:43 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2004-12-20 17:42:22 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2006-07-14 14:59:51 -04:00
|
|
|
NO_REGRESS= Yes
|
2004-12-20 17:42:22 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
2006-12-04 21:27:28 -05:00
|
|
|
LANGS= cs de es fr sv
|
2006-07-14 14:59:51 -04:00
|
|
|
|
2004-12-20 17:42:22 -05:00
|
|
|
do-configure:
|
2006-07-14 14:59:51 -04:00
|
|
|
@perl -i -pe 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/tinyca2
|
|
|
|
@perl -i -pe 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/tinyca2
|
2004-12-20 17:42:22 -05:00
|
|
|
|
|
|
|
do-install:
|
2006-07-14 14:59:51 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tinyca2 ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tinyca2/templates
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf \
|
|
|
|
${PREFIX}/share/tinyca2/templates
|
|
|
|
|
|
|
|
.for l in ${LANGS}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tinyca2/locale/$l/LC_MESSAGES/
|
|
|
|
@msgfmt ${WRKSRC}/po/$l.po \
|
|
|
|
-o ${PREFIX}/share/tinyca2/locale/$l/LC_MESSAGES/tinyca2.mo
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/tinyca2/GUI
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.pm ${PREFIX}/lib/tinyca2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/GUI/*.pm ${PREFIX}/lib/tinyca2/GUI
|
2004-12-20 17:42:22 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|