1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/games/plonx/Makefile
Emanuel Haupt 6d459688af - Support staging
- Define DOCS option
2014-03-14 08:33:43 +00:00

29 lines
618 B
Makefile

# Created by: clive crous <clive@darkarts.co.za>
# $FreeBSD$
PORTNAME= plonx
PORTVERSION= 0.03
CATEGORIES= games
MASTER_SITES= http://bilious.homelinux.org/~paxed/${PORTNAME}/
MAINTAINER= clive@darkarts.co.za
COMMENT= Small ASCII puzzle game
PLIST_FILES= bin/plonx
PORTDOCS= README
LDFLAGS+= -lncurses
OPTIONS_DEFINE= DOCS
do-build:
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>