34f51c4f76
EasyEXIF is a tiny, lightweight C++ library that parses basic information out of EXIF files. It uses only the std::string library and is otherwise pure C++. It is made of one .h file and one .cpp file. This is a new dependency for the upcoming update of devel/vcglib[1] [1] https://github.com/cnr-isti-vclab/vcglib/commit/dd8c26474dfa3ee2cde2e4c39366fe9df41e667d
38 lines
841 B
Makefile
38 lines
841 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= easyexif
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= fernape@FreeBSD.org
|
|
COMMENT= Tiny ISO-compliant C++ EXIF parsing library
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= compiler:c++11-lib shebangfix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mayanklahiri
|
|
|
|
SHEBANG_FILES= test.sh
|
|
|
|
PLIST_FILES= easyexif/bin/demo \
|
|
easyexif/src/demo.cpp \
|
|
easyexif/src/exif.cpp \
|
|
include/exif.h
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include
|
|
${CP} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/src
|
|
${CP} ${WRKSRC}/*.cpp ${STAGEDIR}${PREFIX}/${PORTNAME}/src
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
|
|
${STRIP_CMD} ${WRKSRC}/demo
|
|
${CP} ${WRKSRC}/demo ${STAGEDIR}${PREFIX}/${PORTNAME}/bin
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ./test.sh
|
|
|
|
.include <bsd.port.mk>
|