diff options
author | acm <acm@FreeBSD.org> | 2018-06-16 02:04:40 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2018-06-16 02:04:40 +0800 |
commit | 4156c4676ef2360cec8ba4f9e662e05064888917 (patch) | |
tree | 275718f36e64498003cdca30a52081f2a42b2df1 /devel | |
parent | 7ca0bb843a786ee6ac1e43a4462b27fa674e7898 (diff) | |
download | freebsd-ports-gnome-4156c4676ef2360cec8ba4f9e662e05064888917.tar.gz freebsd-ports-gnome-4156c4676ef2360cec8ba4f9e662e05064888917.tar.zst freebsd-ports-gnome-4156c4676ef2360cec8ba4f9e662e05064888917.zip |
- New port: devel/isfreedesktop
D programming language compile-time constant for Freedesktop
WWW: https://github.com/FreeSlave/isfreedesktop
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/isfreedesktop/Makefile | 32 | ||||
-rw-r--r-- | devel/isfreedesktop/distinfo | 3 | ||||
-rw-r--r-- | devel/isfreedesktop/pkg-descr | 3 | ||||
-rw-r--r-- | devel/isfreedesktop/pkg-plist | 2 |
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6da745331819..74da930dd204 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1225,6 +1225,7 @@ SUBDIR += ipython SUBDIR += ireport SUBDIR += isa-l + SUBDIR += isfreedesktop SUBDIR += isl SUBDIR += ispc SUBDIR += itext diff --git a/devel/isfreedesktop/Makefile b/devel/isfreedesktop/Makefile new file mode 100644 index 000000000000..26d41e6d36f4 --- /dev/null +++ b/devel/isfreedesktop/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= isfreedesktop +PORTVERSION= 0.1.1 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= acm@FreeBSD.org +COMMENT= D programming to test if target platform is freedesktop + +LICENSE= BSL + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub + +USE_GITHUB= yes +GH_ACCOUNT= FreeSlave + +DUB_CMD= ${LOCALBASE}/bin/dub build --build=release +D_INCLUDE_DIR= ${PREFIX}/include/d +D_LIB_DIR= ${PREFIX}/lib/d + +do-build: + @cd ${WRKSRC} && ${DUB_CMD} + +do-install: + @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} + @${MKDIR} ${STAGEDIR}${D_LIB_DIR} + ${INSTALL_DATA} ${WRKSRC}/lib/libisfreedesktop.a ${STAGEDIR}${D_LIB_DIR} + cd ${WRKSRC}/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" + +.include <bsd.port.mk> diff --git a/devel/isfreedesktop/distinfo b/devel/isfreedesktop/distinfo new file mode 100644 index 000000000000..91fa9492adb0 --- /dev/null +++ b/devel/isfreedesktop/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1513180165 +SHA256 (FreeSlave-isfreedesktop-v0.1.1_GH0.tar.gz) = 3aefde7495a6f3a918be29bdeb99de3d1dafd24833a22f71eba8b61131e1f7fe +SIZE (FreeSlave-isfreedesktop-v0.1.1_GH0.tar.gz) = 1996 diff --git a/devel/isfreedesktop/pkg-descr b/devel/isfreedesktop/pkg-descr new file mode 100644 index 000000000000..bd68e40a3105 --- /dev/null +++ b/devel/isfreedesktop/pkg-descr @@ -0,0 +1,3 @@ +D programming language compile-time constant for Freedesktop + +WWW: https://github.com/FreeSlave/isfreedesktop diff --git a/devel/isfreedesktop/pkg-plist b/devel/isfreedesktop/pkg-plist new file mode 100644 index 000000000000..0cf6462fc1ed --- /dev/null +++ b/devel/isfreedesktop/pkg-plist @@ -0,0 +1,2 @@ +include/d/isfreedesktop.d +lib/d/libisfreedesktop.a |