aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tm
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-14 16:26:47 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-14 16:26:47 +0000
commit2176d86e137d84559f396af9dedab6791c445eac (patch)
tree490dbc9552b0393aea34021c4a48e2ebdd310f10 /sysutils/tm
parent314e9f45ed81d3b47ee23adcaa0c1ef69c6cf4b5 (diff)
downloadports-2176d86e137d84559f396af9dedab6791c445eac.tar.gz
ports-2176d86e137d84559f396af9dedab6791c445eac.zip
. add LICENSE=GPLv2;
. bump PORTREVISION; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . trim Makefile headers.
Notes
Notes: svn path=/head/; revision=320951
Diffstat (limited to 'sysutils/tm')
-rw-r--r--sysutils/tm/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/sysutils/tm/Makefile b/sysutils/tm/Makefile
index 3aea2c63c913..72703c0f3d9d 100644
--- a/sysutils/tm/Makefile
+++ b/sysutils/tm/Makefile
@@ -1,22 +1,23 @@
-# New ports collection makefile for: tm
-# Date created: 18 December 2007
-# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= tm
PORTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://vicerveza.homeunix.net/~viric/soft/tm/ CENKES
MAINTAINER= ports@FreeBSD.org
COMMENT= Terminal mixer
+LICENSE= GPLv2
+
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog DOCS index.html
MAKE_ENV= LINUX_LIBS=-lutil
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${MV} ${WRKSRC}/web/index.html ${WRKSRC}/
@@ -26,11 +27,13 @@ post-patch:
@${REINPLACE_CMD} -e 's|pty.h|libutil.h|' ${WRKSRC}/app_term.c
@${ECHO_CMD} '#include <string.h>' >> ${WRKSRC}/main.h
+.include <bsd.port.options.mk>
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.ifndef NOPORTDOCS
- @${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>