openbsd-ports/misc/tpp/Makefile
kili 11b55b8d95 Argh! I shouldn't have stop reading at the `ok william@' line ;-
Tweak COMMENT, zap COPYING and CHANGES, and apply proper military look to do-install,
as suggested by william@.
2010-05-18 20:54:25 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2010/05/18 20:54:25 kili Exp $
COMMENT = text-based presentation program
DISTNAME = tpp-1.3.1
PKGNAME = ${DISTNAME}p0
CATEGORIES = misc productivity
HOMEPAGE = http://synflood.at/tpp.html
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://synflood.at/tpp/
MODULES = lang/ruby
RUN_DEPENDS = ::devel/ruby-ncurses \
::misc/figlet
NO_BUILD = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpp
cd ${WRKSRC} && \
${INSTALL_DATA} DESIGN README THANKS ${PREFIX}/share/doc/tpp
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/tpp.1 ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/tpp.rb ${PREFIX}/bin/tpp
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tpp
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/tpp
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/contrib/tpp-mode.el ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/contrib/tpp.vim ${PREFIX}/share/doc/tpp
.include <bsd.port.mk>