Index: head/sysutils/tm/pkg-plist =================================================================== --- head/sysutils/tm/pkg-plist (revision 415052) +++ head/sysutils/tm/pkg-plist (nonexistent) @@ -1,4 +0,0 @@ -bin/tm -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/DOCS -%%PORTDOCS%%%%DOCSDIR%%/index.html Property changes on: head/sysutils/tm/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/tm/Makefile =================================================================== --- head/sysutils/tm/Makefile (revision 415052) +++ head/sysutils/tm/Makefile (revision 415053) @@ -1,36 +1,39 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= tm PORTVERSION= 0.4.1 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://vicerveza.homeunix.net/~viric/soft/tm/ MAINTAINER= ports@FreeBSD.org COMMENT= Terminal mixer LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -DOCS= ChangeLog DOCS index.html MAKE_ENV= LINUX_LIBS=-lutil +PLIST_FILES= bin/tm +PORTDOCS= ChangeLog DOCS index.html + OPTIONS_DEFINE= DOCS post-extract: @${MV} ${WRKSRC}/web/index.html ${WRKSRC}/ post-patch: @${REINPLACE_CMD} -e 's|$$^|$${.ALLSRC}|;/^GLIBCFLAGS/d;/^CFLAGS/d;\ /^CC/d;/^ifeq/,/^endif/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|pty.h|libutil.h|' ${WRKSRC}/app_term.c @${ECHO_CMD} '#include ' >> ${WRKSRC}/main.h -.include - do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include