diff options
author | acm <acm@FreeBSD.org> | 2017-03-14 23:18:50 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2017-03-14 23:18:50 +0800 |
commit | cb8b392418f08f59e768c1b50a8afb763c08c7fc (patch) | |
tree | d33b7e057318082202511234489dafe6098f0fd7 /devel | |
parent | fd21e3b31030e7e73d0678f42f3c7949ce1cd8a3 (diff) | |
download | freebsd-ports-gnome-cb8b392418f08f59e768c1b50a8afb763c08c7fc.tar.gz freebsd-ports-gnome-cb8b392418f08f59e768c1b50a8afb763c08c7fc.tar.zst freebsd-ports-gnome-cb8b392418f08f59e768c1b50a8afb763c08c7fc.zip |
- Update to 1.2.2
Diffstat (limited to 'devel')
-rw-r--r-- | devel/dub/Makefile | 5 | ||||
-rw-r--r-- | devel/dub/distinfo | 6 | ||||
-rw-r--r-- | devel/dub/files/patch-source-dub_version-d | 6 |
3 files changed, 13 insertions, 4 deletions
diff --git a/devel/dub/Makefile b/devel/dub/Makefile index 3af2e61a93d3..d6bf9a8d2180 100644 --- a/devel/dub/Makefile +++ b/devel/dub/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= dub -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.2 CATEGORIES= devel MASTER_SITES= https://github.com/dlang/dub/archive/ DISTFILES= v${PORTVERSION}.tar.gz @@ -18,6 +18,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt PLIST_FILES= bin/${PORTNAME} \ %%DATADIR%%/LICENSE +post-patch: + ${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/source/dub/version_.d + do-build: @cd ${WRKSRC} && ${SH} build.sh diff --git a/devel/dub/distinfo b/devel/dub/distinfo index e84c534afc46..a7a07b36aa32 100644 --- a/devel/dub/distinfo +++ b/devel/dub/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1488296336 -SHA256 (dub/v1.2.1.tar.gz) = e880cf9ca6234f751a53a427eba71b8d5585b6b660d6a489458f638d2ff60554 -SIZE (dub/v1.2.1.tar.gz) = 1139223 +TIMESTAMP = 1489344789 +SHA256 (dub/v1.2.2.tar.gz) = 6487b89afa5f2b57d6905cdb45b5e596eb18ed0081f311f6a260324b460f610a +SIZE (dub/v1.2.2.tar.gz) = 1139219 diff --git a/devel/dub/files/patch-source-dub_version-d b/devel/dub/files/patch-source-dub_version-d new file mode 100644 index 000000000000..1933cf026097 --- /dev/null +++ b/devel/dub/files/patch-source-dub_version-d @@ -0,0 +1,6 @@ +--- source/dub/version_.d 2017-03-12 14:11:08.909785000 -0500 ++++ source/dub/version_.d 2017-03-12 14:11:30.324980000 -0500 +@@ -1,2 +1,2 @@ + module dub.version_; +-enum dubVersion = "v1.2.1-beta.1"; ++enum dubVersion = "v%%PORTVERSION%%"; |