aboutsummaryrefslogtreecommitdiff
path: root/graphics/aalib/Makefile
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-08-29 11:39:06 +0000
committerMark Pulford <markp@FreeBSD.org>2001-08-29 11:39:06 +0000
commit52ad175276d4391f75fc3ed152c6e5efecaea49c (patch)
treee7b4fe70044accf89c6c7e22b074cda8f6ef7819 /graphics/aalib/Makefile
parentab47333398629213d7872abf1bb2bfafabf9098c (diff)
downloadports-52ad175276d4391f75fc3ed152c6e5efecaea49c.tar.gz
ports-52ad175276d4391f75fc3ed152c6e5efecaea49c.zip
Notes
Diffstat (limited to 'graphics/aalib/Makefile')
-rw-r--r--graphics/aalib/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile
index 4e972e4e452a..1242aaab76df 100644
--- a/graphics/aalib/Makefile
+++ b/graphics/aalib/Makefile
@@ -9,14 +9,11 @@ PORTNAME= aalib
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ftp://horac.ta.jcu.cz/pub/aa/ \
- ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs/graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= aa-project
MAINTAINER= ports@FreeBSD.org
-USE_AUTOMAKE= yes
-AUTOMAKE= automake -a -i
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@@ -29,7 +26,8 @@ CONFIGURE_ARGS= --with-x=no
.endif
post-patch:
- @${RM} -f ${WRKSRC}/config.cache
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in
+ @${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ 's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>