aboutsummaryrefslogtreecommitdiffstats
path: root/games/smiley/Makefile
blob: 0a20ca80b2cb754d34e5f352244bff747d69e361 (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
# No external mirror available anymore
#MASTER_SITES=  ftp://ftp.fu-berlin.de/pub/unix/misc/smiley/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A "server" to print out a smiley with it's explanation

WRKSRC=     ${WRKDIR}/${PORTNAME}

MAN1=       "smiley.1"
PLIST_FILES=    bin/smiley

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
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1

.include <bsd.port.mk>