freebsd-ports/misc/termatrix/Makefile
Eitan Adler fd37d8821f Cleanup unmaintained ports in the misc category:
- Trim Header
	- Convert to OptionsNG
	- Prefer DISTNAME to DISTFILES
	- Reorder variables
	- Fix comments (don't include leading article)
	- @unexec rm must not cause failure
	- Tabs, not spaces
	- Single space for WWW
	- Pet portlint
	- etc.

In a few cases the option DOCS was used to control installation into EXAMPLEDIR.
I opted to keep the existing logic of the port in these cases.

Reviewed by:	koobs, ashish
2013-03-25 04:30:31 +00:00

29 lines
616 B
Makefile

# Created by: chinsan
# $FreeBSD$
PORTNAME= termatrix
PORTVERSION= 0.2
CATEGORIES= misc
MASTER_SITES= LOCAL/chinsan \
http://lightless.org/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Emulates Matrix terminal's "green tears" effect
PLIST_FILES= bin/termatrix
PORTDOCS= README
.include <bsd.port.options.mk>
do-build:
${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/termatrix \
${WRKSRC}/termatrix.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/termatrix ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>