1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Use PORTDOCS

- Remove one line pkg-plist
- Reduce COMMENT to make portlint happy

Approved by:	maintainer
This commit is contained in:
Renato Botelho 2005-08-01 18:08:50 +00:00
parent 2ec68b7f0d
commit aba130676a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140711
2 changed files with 8 additions and 11 deletions

View File

@ -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>

View File

@ -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