mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
35 lines
767 B
Makefile
35 lines
767 B
Makefile
# Created by: Stas Timokhin <stast@bsdportal.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= alpng
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}13
|
|
|
|
MAINTAINER= devel@stasyan.com
|
|
COMMENT= Library for display PNG images in programs
|
|
|
|
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
|
|
|
|
HAS_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}
|
|
MAKEFILE= makefile
|
|
USES= gmake
|
|
MAKE_ARGS= CC=${CC}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
PLIST_FILES= include/alpng.h \
|
|
lib/libalpng.a
|
|
|
|
NO_STAGE= yes
|
|
do-configure:
|
|
@${REINPLACE_CMD} -e "s/gcc/${CC}/g" ${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libalpng.a ${PREFIX}/lib/libalpng.a
|
|
${INSTALL_DATA} ${WRKSRC}/src/alpng.h ${PREFIX}/include/alpng.h
|
|
|
|
.include <bsd.port.mk>
|