mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
6d459688af
- Define DOCS option
29 lines
618 B
Makefile
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>
|