diff options
author | garga <garga@FreeBSD.org> | 2005-08-02 02:08:50 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-08-02 02:08:50 +0800 |
commit | 4b5a3556309fe0b71fbc7c4c6918e4aab39d8354 (patch) | |
tree | a9aa377cbb9dde4ec0fec0946557b7755dc629e2 /editors | |
parent | 24aa3541c4cf2abf351f2fff36b374547b0e4d7e (diff) | |
download | freebsd-ports-gnome-4b5a3556309fe0b71fbc7c4c6918e4aab39d8354.tar.gz freebsd-ports-gnome-4b5a3556309fe0b71fbc7c4c6918e4aab39d8354.tar.zst freebsd-ports-gnome-4b5a3556309fe0b71fbc7c4c6918e4aab39d8354.zip |
- Use PORTDOCS
- Remove one line pkg-plist
- Reduce COMMENT to make portlint happy
Approved by: maintainer
Diffstat (limited to 'editors')
-rw-r--r-- | editors/dte/Makefile | 14 | ||||
-rw-r--r-- | editors/dte/pkg-plist | 5 |
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 |