aboutsummaryrefslogtreecommitdiff
path: root/editors/hexedit
diff options
context:
space:
mode:
Diffstat (limited to 'editors/hexedit')
-rw-r--r--editors/hexedit/Makefile31
-rw-r--r--editors/hexedit/pkg-plist4
2 files changed, 10 insertions, 25 deletions
diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile
index 1f5aa7399d5b..732502373f3d 100644
--- a/editors/hexedit/Makefile
+++ b/editors/hexedit/Makefile
@@ -6,33 +6,22 @@
# $FreeBSD$
#
-PORTNAME= hexedit
-PORTVERSION= 1.2.1
-CATEGORIES= editors
-MASTER_SITES= http://www.chez.com/prigaux/ \
- ${MASTER_SITE_SUNSITE}
+PORTNAME= hexedit
+PORTVERSION= 1.2.1
+CATEGORIES= editors
+MASTER_SITES= http://www.chez.com/prigaux/ \
+ ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= utils/file/hex
-EXTRACT_SUFX= .src.tgz
+EXTRACT_SUFX= .src.tgz
-MAINTAINER= obrien@FreeBSD.org
+MAINTAINER= obrien@FreeBSD.org
-GNU_CONFIGURE= yes
-
-ALL_TARGET=
-WRKSRC= ${WRKDIR}/hexedit
-
-MAN1= hexedit.1
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-${PORTVERSION}//}
+GNU_CONFIGURE= yes
+MAN1= hexedit.1
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${PREFIX}/bin
@ ${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${PREFIX}/man/man1
-post-install:
-.if !defined(NOPORTDOCS)
- @ ${MKDIR} ${PREFIX}/share/doc/hexedit
-.for file in COPYING Changes TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hexedit
-.endfor
-.endif
-
.include <bsd.port.mk>
diff --git a/editors/hexedit/pkg-plist b/editors/hexedit/pkg-plist
index 77b85637093f..f7def0015f56 100644
--- a/editors/hexedit/pkg-plist
+++ b/editors/hexedit/pkg-plist
@@ -1,6 +1,2 @@
@comment $FreeBSD$
bin/hexedit
-share/doc/hexedit/COPYING
-share/doc/hexedit/Changes
-share/doc/hexedit/TODO
-@dirrm share/doc/hexedit