openbsd-ports/www/ajaxterm/Makefile
2011-06-08 18:15:28 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2011/06/08 18:15:28 rpointel Exp $
COMMENT = web-based SSH client
DISTNAME = Ajaxterm-0.10
PKGNAME = ajaxterm-0.10
REVISION = 5
CATEGORIES = net security www
PKG_ARCH = *
HOMEPAGE = http://antony.lesuisse.org/software/ajaxterm/
MAINTAINER = Laurent Moccellin <moccel_l@epitech.eu>
# Public Domain / LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}/files/
USE_GROFF = Yes
NO_BUILD = Yes
MODULES = lang/python
SHARE = ${PREFIX}/share/ajaxterm
do-install:
${SUBST_CMD} ${WRKDIST}/ajaxterm.py
${INSTALL_SCRIPT} ${WRKDIST}/ajaxterm.py ${PREFIX}/bin/ajaxterm
${INSTALL_DATA_DIR} ${SHARE}
${INSTALL_SCRIPT} ${WRKDIST}/qweb.py ${SHARE}
${INSTALL_DATA} ${WRKDIST}/ajaxterm.css ${SHARE}
${INSTALL_DATA} ${WRKDIST}/ajaxterm.html ${SHARE}
${INSTALL_DATA} ${WRKDIST}/ajaxterm.js ${SHARE}
${INSTALL_DATA} ${WRKDIST}/sarissa.js ${SHARE}
${INSTALL_DATA} ${WRKDIST}/sarissa_dhtml.js ${SHARE}
perl -pi -e 's/ajaxterm.py/ajaxterm/' ${WRKDIST}/ajaxterm.1
${INSTALL_MAN} ${WRKDIST}/ajaxterm.1 ${PREFIX}/man/man1/ajaxterm.1
.include <bsd.port.mk>