1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/bmp2html/Makefile
2021-04-06 16:31:07 +02:00

33 lines
654 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
PORTNAME= bmp2html
PORTVERSION= 0.1
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= LOCAL/ehaupt
DISTNAME= ${PORTNAME}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= BMP to HTML converter
LICENSE= PD
USES= sdl
USE_SDL= sdl
PLIST_FILES= bin/bmp2html
post-extract:
@${RM} ${WRKSRC}/${PORTNAME}
do-build:
${CC} ${CFLAGS} `${SDL_CONFIG} --cflags` -c \
-o ${WRKSRC}/${PORTNAME}.o ${WRKSRC}/${PORTNAME}.c
${CC} ${LDFLAGS} `${SDL_CONFIG} --libs` \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>