# 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 DOCS= ChangeLog DOCS index.html MAKE_ENV= LINUX_LIBS=-lutil 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/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include