aboutsummaryrefslogtreecommitdiffstats
path: root/games/aop/Makefile
blob: b3984fbda8a76c7fe10e43f96ede05928365ff86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Aaron Zauner <az_mail@gmx.at>
# $FreeBSD$

PORTNAME=   aop
PORTVERSION=    0.6
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   http://raffi.at/code/aop/ \
        SF/nemysisfreebsdp/:icons
DISTFILES=  ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
        ${PORTNAME}.png:icons
EXTRACT_ONLY=   ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER= nemysis@gmx.ch
COMMENT=    Ncurses based arcade game with only 64 lines of code

LICENSE=    GPLv2

ALL_TARGET= #empty

PORTDOCS=   README

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
        ${WRKSRC}/Makefile

.include <bsd.port.options.mk>

post-install:
    ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps

.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>