aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-06-25 00:33:18 +0800
committerlawrance <lawrance@FreeBSD.org>2005-06-25 00:33:18 +0800
commit09b9c84de0bcc5a3f40652c782f50acabef39e46 (patch)
tree16ef1dfa1550c151b53b1d8831c4a81fd2ea5e01 /sysutils
parentb06214348b879d5f413e02b0535f623bb93d94c1 (diff)
downloadfreebsd-ports-gnome-09b9c84de0bcc5a3f40652c782f50acabef39e46.tar.gz
freebsd-ports-gnome-09b9c84de0bcc5a3f40652c782f50acabef39e46.tar.zst
freebsd-ports-gnome-09b9c84de0bcc5a3f40652c782f50acabef39e46.zip
Update to version 8
- respect CC, CFLAGS, LDFLAGS - remove pkg-plist, use PLIST_FILES - submitter takes maintainership :-) PR: ports/82610 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/disktype/Makefile15
-rw-r--r--sysutils/disktype/distinfo4
-rw-r--r--sysutils/disktype/pkg-plist3
3 files changed, 14 insertions, 8 deletions
diff --git a/sysutils/disktype/Makefile b/sysutils/disktype/Makefile
index f9890fae450b..02cf628f04aa 100644
--- a/sysutils/disktype/Makefile
+++ b/sysutils/disktype/Makefile
@@ -6,17 +6,26 @@
#
PORTNAME= disktype
-PORTVERSION= 6
-PORTREVISION= 1
+PORTVERSION= 8
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ehaupt@critical.ch
COMMENT= Disk formatting type autodetector
+USE_REINPLACE= yes
USE_GMAKE= yes
+PLIST_FILES= bin/disktype
+PORTDOCS= README
+
+post-patch:
+.for var in CFLAGS LDFLAGS CC
+ @${REINPLACE_CMD} -e 's|^\(${var}\)[ ]*=|\1 ?=|' \
+ ${WRKSRC}/Makefile
+.endfor
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
diff --git a/sysutils/disktype/distinfo b/sysutils/disktype/distinfo
index b26b9eee2f26..cb603ab2c259 100644
--- a/sysutils/disktype/distinfo
+++ b/sysutils/disktype/distinfo
@@ -1,2 +1,2 @@
-MD5 (disktype-6.tar.gz) = ae8dc60c0dd9cd9c3a339872141b7e16
-SIZE (disktype-6.tar.gz) = 36851
+MD5 (disktype-8.tar.gz) = 47cf84b2474dd354cdbe56bf02bb50ab
+SIZE (disktype-8.tar.gz) = 39982
diff --git a/sysutils/disktype/pkg-plist b/sysutils/disktype/pkg-plist
deleted file mode 100644
index 4005ac866c7e..000000000000
--- a/sysutils/disktype/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/disktype
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%