diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/libcaldav/Makefile | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/libcaldav/Makefile')
-rw-r--r-- | freebsd/dependencies/libcaldav/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/freebsd/dependencies/libcaldav/Makefile b/freebsd/dependencies/libcaldav/Makefile new file mode 100644 index 000000000..def2a2652 --- /dev/null +++ b/freebsd/dependencies/libcaldav/Makefile @@ -0,0 +1,37 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../../trinity.port.mk> + +PORTNAME= libcaldav +COMMENT= libcaldav provides a C interface for caldav PIM clients +TDE_PREVERSION= ~pre0+074fd775 +MASTER_SITE_SUBDIR= libc/${PORTNAME} +DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION} +PORTREVISION= 0 +CATEGORIES= devel +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +do-configure: + cd "${WRKSRC}" && \ + autoreconf -vi && \ + rm -fr .build && mkdir .build && cd .build && \ + ${WRKSRC}/configure \ + --prefix=${PREFIX} \ + --mandir=${PREFIX}/share/man + +post-configure: + @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' + +do-build: + ${MAKE_CMD} -C "${WRKSRC}/.build" + +do-install: + ${MAKE_CMD} -C "${WRKSRC}/.build" DESTDIR=${STAGEDIR} install + +.include <bsd.port.mk> |