aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-decode/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
commit037277c495c4a69f56029e71eecf6838910561c8 (patch)
tree728a3619568ce38b9188fc0b8717a16a880d52d3 /mail/squirrelmail-decode/Makefile
parent944f55c3adc149ff34c18999a68dd201bd55600a (diff)
downloadfreebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.gz
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.zst
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.zip
Add DOCS option for ports with PORTDOCS in plist.
Diffstat (limited to 'mail/squirrelmail-decode/Makefile')
-rw-r--r--mail/squirrelmail-decode/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/mail/squirrelmail-decode/Makefile b/mail/squirrelmail-decode/Makefile
index 1cd776562808..bdc5a09fbe35 100644
--- a/mail/squirrelmail-decode/Makefile
+++ b/mail/squirrelmail-decode/Makefile
@@ -1,27 +1,29 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-PORTNAME= squirrelmail-decode
+PORTNAME= squirrelmail-decode
PORTVERSION= 1.2
-CATEGORIES= mail www
+CATEGORIES= mail www
MASTER_SITES= SF/squirrelmail/decode/${PORTVERSION}
DIST_SUBDIR= squirrelmail
-MAINTAINER= adamw@FreeBSD.org
-COMMENT= Decoders to display extra character sets in SquirrelMail
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Decoders to display extra character sets in SquirrelMail
-LICENSE= GPLv2
+LICENSE= GPLv2
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
-USES= tar:bzip2
-NO_BUILD= yes
+USES= tar:bzip2
+NO_BUILD= yes
-DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
+DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
-PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
+PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
+
+OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${SQUIRRELDIR}/functions/decode