mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
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)
24 lines
692 B
Gnuplot
24 lines
692 B
Gnuplot
############################################################
|
|
CXX := c++
|
|
STRIP := strip
|
|
############################################################
|
|
MKDIR_CMD = test -d $(@D) || mkdir -p $(@D)
|
|
############################################################
|
|
|
|
SDL := ${LOCALBASE}
|
|
SDL_IMAGE := ${LOCALBASE}
|
|
|
|
CPPFLAGS += -I${SDL}/include/SDL -I${SDL}/include -I${SDL_IMAGE}/include/SDL
|
|
LDFLAGS += \
|
|
-L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \
|
|
-L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \
|
|
-lSDL_image -lSDL -lSDLmain -pthread -lpng
|
|
|
|
prog: Release/54321-$(OPSYS)
|
|
|
|
Release/54321-$(OPSYS):
|
|
-@$(MKDIR_CMD)
|
|
echo '#!/bin/sh' > $@
|
|
echo "cd ./bin/$(OPSYS) && exec ./54321 \$$*" >> $@
|
|
chmod 755 $@
|