aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xnee/Makefile
blob: 9e654db56760c54cb58e1880f6c34b464fe01728 (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:    xnee
# Date created:             27 May 2002
# Whom:                 Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=   xnee
PORTVERSION=    1.0.2
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

USE_X_PREFIX=   yes
USE_PERL5=  yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=       xnee.1

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|^CFLAGS = |CFLAGS = @CFLAGS@ |g ; \
         s|-g$$||g'

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/xnee.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>