pkgsrc/graphics/png2html/Makefile
jlam 3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00

25 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.7 2003/03/14 19:37:42 jlam Exp $
#
DISTNAME= png2html-1.1
PKGREVISION= 1
CATEGORIES= graphics www
MASTER_SITES= http://www.engr.mun.ca/~holden/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.engr.mun.ca/~holden/png2html.html
COMMENT= Takes a PNG image and transforms it to a web page
USE_BUILDLINK2= YES
FIX_RPATH+= CFLAGS
CFLAGS+= -L${BUILDLINK_PREFIX.gd}/lib -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.gd}/lib
do-install:
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/png2html
${INSTALL_MAN} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/png2html
${INSTALL_PROGRAM} ${WRKSRC}/png2html ${PREFIX}/bin
.include "../../graphics/gd/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"