freebsd-ports/graphics/delaboratory/Makefile
2015-04-12 08:02:20 +00:00

32 lines
675 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= delaboratory
PORTVERSION= 0.8
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Unique image postprocessing application
LICENSE= GPLv3
USES= compiler:c++11-lib gmake
MAKE_ARGS= CXX="${CXX}" WXCONFIG="${WX_CONFIG}"
USE_WX= 3.0
USE_CXXSTD= c++11
WX_UNICODE= yes
PLIST_FILES= bin/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|-Ofast.*}|${CXXFLAGS}| ; \
s|CXXFLAGS_WX +=|& ${CXXFLAGS} -I${LOCALBASE}/include|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>