aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/bmp2html/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-09-04 02:56:33 +0800
committersem <sem@FreeBSD.org>2005-09-04 02:56:33 +0800
commitc4d108dde3287842c7d574da0237741ee49eba63 (patch)
treedfdb1b584bf944ac4adf982695435dbf557b2a51 /graphics/bmp2html/Makefile
parent759753337663829dfe1d8faea46ec40c9216e41d (diff)
downloadfreebsd-ports-gnome-c4d108dde3287842c7d574da0237741ee49eba63.tar.gz
freebsd-ports-gnome-c4d108dde3287842c7d574da0237741ee49eba63.tar.zst
freebsd-ports-gnome-c4d108dde3287842c7d574da0237741ee49eba63.zip
Bmp2html is a simple program that converts a bmpfile to to a html file.
PR: ports/84757 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'graphics/bmp2html/Makefile')
-rw-r--r--graphics/bmp2html/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/bmp2html/Makefile b/graphics/bmp2html/Makefile
new file mode 100644
index 000000000000..5bba6071df21
--- /dev/null
+++ b/graphics/bmp2html/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: bmp2html
+# Date created: 10 Aug 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bmp2html
+PORTVERSION= 0.1
+CATEGORIES= graphics
+MASTER_SITES= http://critical.ch/distfiles/
+MASTER_SITES+= http://www.dasfisk.dk/bmp2html/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A bmp to html converter
+
+USE_SDL= yes
+
+LDFLAGS+= -L${LOCALBASE}/lib
+SDL_FLAGS= -I${LOCALBASE}/include/SDL11
+EXTRA_LDFLAGS= -lSDL-1.1 -pthread
+DEFINES= -D_REENTRANT
+
+PLIST_FILES= bin/bmp2html
+
+post-patch:
+ @${RM} ${WRKSRC}/${PORTNAME}
+
+do-build:
+ ${CC} ${CFLAGS} ${LDFLAGS} ${SDL_FLAGS} ${DEFINES} -c \
+ -o ${WRKSRC}/${PORTNAME}.o ${WRKSRC}/${PORTNAME}.c
+ ${CC} ${CFLAGS} ${LDFLAGS} ${SDL_FLAGS} ${EXTRA_LDFLAGS} \
+ -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.o
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>