0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
41 lines
974 B
Makefile
41 lines
974 B
Makefile
# New ports collection makefile for: bmp2html
|
|
# Date created: 10 Aug 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bmp2html
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/ \
|
|
http://www.dasfisk.dk/bmp2html/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A bmp to html converter
|
|
|
|
USE_SDL= yes
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
SDL_FLAGS= -I${LOCALBASE}/include/SDL -I${LOCALBASE}/include
|
|
EXTRA_LDFLAGS= -lSDL -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>
|