aboutsummaryrefslogtreecommitdiffstats
path: root/news/slrnface/Makefile
blob: 9ee4d5c6cfb0507e3a37f00bee8608ccc1fba62a (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
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
# $FreeBSD$

PORTNAME=   slrnface
PORTVERSION=    2.1.1
PORTREVISION=   6
CATEGORIES= news
MASTER_SITES=   DEBIAN
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= ports@FreeBSD.org
COMMENT=    Shows X-Faces from slrn in X11 terminal emulator

LIB_DEPENDS=    libcompface.so:${PORTSDIR}/mail/faces

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= slrnface
MAKE_ARGS=  CC="${CC}" C_FLAGS="${CFLAGS}" \
        X_INCL=-I${LOCALBASE}/include \
        XF_LIB="-L${LOCALBASE}/lib -lcompface"
USE_XORG=   xt

PLIST_FILES=    bin/slrnface man/man1/slrnface.1.gz %%DATADIR%%/slrnface.sl

SUB_FILES=  pkg-message

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/slrnface ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/slrnface.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/slrnface.sl ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>