Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/graphics/alpng/Makefile
16123 views
# Created by: Stas Timokhin <[email protected]>

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

MAINTAINER=	[email protected]
COMMENT=	Library for display PNG images in programs

LIB_DEPENDS=	liballeg.so:devel/allegro

USES=		gmake

HAS_CONFIGURE=	yes
MAKEFILE=	makefile
MAKE_ARGS=	CC="${CC}"
CFLAGS+=	-I${LOCALBASE}/include

NO_WRKSUBDIR=	yes

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

do-configure:
	@${REINPLACE_CMD} -e "s|gcc|${CC}|g" ${WRKSRC}/makefile

do-install:
	${INSTALL_DATA} ${WRKSRC}/libalpng.a ${STAGEDIR}${PREFIX}/lib/
	${INSTALL_DATA} ${WRKSRC}/src/alpng.h ${STAGEDIR}${PREFIX}/include/

.include <bsd.port.mk>