aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libafterbase/Makefile
blob: d2e89c0dacb59df5340505f75234e2ee9d559152 (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
# 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
COMMENT=    AfterStep basic functionality library

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs --with-x
USE_LDCONFIG=   yes
PLIST_SUB=  STATIC="@comment "

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

.include <bsd.port.mk>