svn commit: r320951 - head/sysutils/tm
Boris Samorodov
bsam at FreeBSD.org
Fri Jun 14 16:26:48 UTC 2013
Author: bsam
Date: Fri Jun 14 16:26:47 2013
New Revision: 320951
URL: http://svnweb.freebsd.org/changeset/ports/320951
Log:
. add LICENSE=GPLv2;
. bump PORTREVISION;
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. trim Makefile headers.
Modified:
head/sysutils/tm/Makefile
Modified: head/sysutils/tm/Makefile
==============================================================================
--- head/sysutils/tm/Makefile Fri Jun 14 16:06:45 2013 (r320950)
+++ head/sysutils/tm/Makefile Fri Jun 14 16:26:47 2013 (r320951)
@@ -1,22 +1,23 @@
-# New ports collection makefile for: tm
-# Date created: 18 December 2007
-# Whom: Andrew Pantyukhin <infofarmer at FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer at 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 at 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>
More information about the svn-ports-all
mailing list