aboutsummaryrefslogtreecommitdiffstats
path: root/games/smiley/Makefile
blob: 8fd5d9abd16a323b3157738b9257ed2e87dd2a2f (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
# 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
.if !defined(NOPORTDOCS)
    ${MKDIR} ${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.endif

.include <bsd.port.mk>