summaryrefslogtreecommitdiffstats
path: root/devel/adime/Makefile
blob: 42acf4ad5175f0bcb917ac7b90c2dc4f2d63324e (plain)
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
# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$

PORTNAME=	adime
PORTVERSION=	2.2.1
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Generate Allegro dialogs in a simple way

LIB_DEPENDS=	liballeg.so:${PORTSDIR}/devel/allegro

USES=	gmake

MAKEFILE=	makefile
INSTALL_TARGET=	install install-man
MAKE_ARGS=	SYSTEM_DIR=${STAGEDIR}${PREFIX}
USE_LDCONFIG=	yes

pre-build:
	@(cd ${WRKSRC} && ${SH} fix.sh unix)

post-patch:
# Fix Makefile
	@${REINPLACE_CMD} -e 's|gcc|${CC}| ; \
			s|%%CFLAGS%%|${CFLAGS}| ; \
			s|/usr/local|${PREFIX}| ; s|$$(OPT)||' \
				${WRKSRC}/misc/makefile.uni

.include <bsd.port.mk>
OpenPOWER on IntegriCloud