aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/aswedit/Makefile8
-rw-r--r--www/aswedit/pkg-descr2
-rw-r--r--www/aswedit/pkg-plist4
3 files changed, 7 insertions, 7 deletions
diff --git a/www/aswedit/Makefile b/www/aswedit/Makefile
index 2042caced961..5276b8eeb871 100644
--- a/www/aswedit/Makefile
+++ b/www/aswedit/Makefile
@@ -15,7 +15,7 @@ DISTNAME= asWedit-4.0-i386.linux
MAINTAINER= brett@peloton.runet.edu
COMMENT= An easy to use HTML and text editor
-RESTRICTED= "Commercial software"
+RESTRICTED= Commercial software
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
@@ -29,11 +29,13 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asWedit ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/asWedit.hlp ${PREFIX}/lib
- @${MKDIR} ${PREFIX}/share/doc/asWedit
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/asWedit
post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/share/doc/asWedit/LICENSE."
+.endif
.include <bsd.port.mk>
diff --git a/www/aswedit/pkg-descr b/www/aswedit/pkg-descr
index 07aa578158d0..7aaa5530146a 100644
--- a/www/aswedit/pkg-descr
+++ b/www/aswedit/pkg-descr
@@ -1,7 +1,5 @@
This is a port of asWedit, an HTML and text editor. Linux emulation is
required for this port.
-WWW: http://sunsite.doc.ic.ac.uk/packages/www/asWedit/
-
- Brett
brett@peloton.physics.montana.edu
diff --git a/www/aswedit/pkg-plist b/www/aswedit/pkg-plist
index 77b20e91d580..dda4e6dd22e4 100644
--- a/www/aswedit/pkg-plist
+++ b/www/aswedit/pkg-plist
@@ -1,4 +1,4 @@
bin/asWedit
lib/asWedit.hlp
-share/doc/asWedit/LICENSE
-@dirrm share/doc/asWedit
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%@dirrm %%DOCSDIR%%