41 lines
835 B
Makefile
41 lines
835 B
Makefile
# New ports collection makefile for: adime
|
|
# Date Created: 20 Aug 2005
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= adime
|
|
PORTVERSION= 2.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= alejandro@varnet.biz
|
|
COMMENT= Generate Allegro dialogs in a very simple way
|
|
|
|
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
|
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
.include "Makefile.man"
|
|
|
|
INFO= adime
|
|
|
|
MAKEFILE= makefile
|
|
INSTALL_TARGET= install install-info install-man
|
|
INSTALLS_SHLIB= 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>
|