aboutsummaryrefslogtreecommitdiffstats
path: root/games/smiley/Makefile
blob: d22d025e792b71a5f1268da8744da5836e200b77 (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
# New ports collection makefile for:    smiley
# Date created:     15.12.2001
# Whom:         Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
#
# $FreeBSD$
#

PORTNAME=   smiley
PORTVERSION=    4.0
CATEGORIES= games
MASTER_SITES=   ftp://ftp.fu-berlin.de/pub/unix/misc/smiley/

MAINTAINER= Lars.Koeller@Uni-Bielefeld.de

WRKSRC=     ${WRKDIR}/${PORTNAME}

MAN1=       "smiley.1"

post-patch:
    ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input
    ${SED} "s/%CFLAGS%/${CFLAGS}/" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile
    ${RM} -f ${WRKSRC}/Makefile.input

do-install:
    ${MKDIR} ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.endif

.include <bsd.port.mk>