aboutsummaryrefslogtreecommitdiff
path: root/graphics/alpng/Makefile
blob: 72b202685ce545b553cbf219c778e58c597be625 (plain) (blame)
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
33
# New ports collection makefile for: graphics/alpng
# Date created:		27 Aug 2009
# Whom:			Stas Timokhin <stast@bsdportal.ru>
#
# $FreeBSD$
#

PORTNAME=	alpng
PORTVERSION=	1.3
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME=	${PORTNAME}13

MAINTAINER=	stast@bsdportal.ru
COMMENT=	Library for display PNG images in programs

LIB_DEPENDS+=	alleg.42:${PORTSDIR}/devel/allegro

HAS_CONFIGURE=	yes
WRKSRC=		${WRKDIR}
MAKEFILE=	makefile
USE_GMAKE=	yes
CFLAGS+=	-I${LOCALBASE}/include
MAKE_ENV+=	CFLAGS="${CFLAGS}"

PLIST_FILES=	include/alpng.h \
		lib/libalpng.a

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>