mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
33 lines
665 B
Makefile
33 lines
665 B
Makefile
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= adime
|
|
PORTVERSION= 2.2.1
|
|
PORTREVISION= 2
|
|
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>
|