aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libafterbase/Makefile
blob: 6f6a5f07353cf95225921a8c3179004018f8c693 (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
# ex:ts=8
# New ports collection makefile for:    libAfterBase
# Date created:         Oct 7, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libafterbase
PORTVERSION=    0.92
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
DISTNAME=   libAfterBase-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org

USE_REINPLACE=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sharedlibs --with-x
INSTALLS_SHLIB= yes

post-patch:
    @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
        's|<malloc.h>|<stdlib.h>|g'

.include <bsd.port.mk>