aboutsummaryrefslogtreecommitdiff
path: root/editors/dte
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-08-01 18:08:50 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-08-01 18:08:50 +0000
commitaba130676af5eccdf1993c36a5510df8a6699bad (patch)
tree220eda3c5a200bd70c549062e845b5a37111569e /editors/dte
parent2ec68b7f0dd2269d143827e2660a9f271f4a65b6 (diff)
downloadports-aba130676af5eccdf1993c36a5510df8a6699bad.tar.gz
ports-aba130676af5eccdf1993c36a5510df8a6699bad.zip
Notes
Diffstat (limited to 'editors/dte')
-rw-r--r--editors/dte/Makefile14
-rw-r--r--editors/dte/pkg-plist5
2 files changed, 8 insertions, 11 deletions
diff --git a/editors/dte/Makefile b/editors/dte/Makefile
index 87a89b94a4b2..17f03d60770a 100644
--- a/editors/dte/Makefile
+++ b/editors/dte/Makefile
@@ -12,18 +12,20 @@ MASTER_SITES= http://freebsd.t-hosting.hu/dte/
EXTRACT_SUFX= .tgz
MAINTAINER= gkovesdan@t-hosting.hu
-COMMENT= A simple text editor which uses many of the shortcuts used in MSDOS EDIT
+COMMENT= A text editor which uses many of the shortcuts used in MSDOS EDIT
MAN1= dte.1
+PORTDOCS= dte.doc dte.hlp dte.rc
+PLIST_FILES= bin/dte
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dte ${PREFIX}/bin/dte
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/dte
- ${INSTALL_DATA} ${WRKSRC}/dte.doc ${PREFIX}/share/doc/dte/
- ${INSTALL_DATA} ${WRKSRC}/dte.hlp ${PREFIX}/share/doc/dte/
- ${INSTALL_DATA} ${WRKSRC}/dte.rc ${PREFIX}/share/doc/dte/
${INSTALL_MAN} ${WRKSRC}/dte.1 ${MANPREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/editors/dte/pkg-plist b/editors/dte/pkg-plist
deleted file mode 100644
index 885f8064fad1..000000000000
--- a/editors/dte/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/dte
-share/doc/dte/dte.hlp
-share/doc/dte/dte.doc
-share/doc/dte/dte.rc
-@dirrm share/doc/dte