aboutsummaryrefslogtreecommitdiff
path: root/comms/aprsd
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-15 23:11:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-15 23:11:12 +0000
commit44eaadcb751194bcef34890a161d4bf9a873a2a4 (patch)
tree37076f8661cc0a667d6e54eab2728ecc665430a0 /comms/aprsd
parent156cc72026ce25b8da3d604f4fb691e4d6413b5f (diff)
downloadports-44eaadcb751194bcef34890a161d4bf9a873a2a4.tar.gz
ports-44eaadcb751194bcef34890a161d4bf9a873a2a4.zip
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
Notes
Notes: svn path=/head/; revision=362014
Diffstat (limited to 'comms/aprsd')
-rw-r--r--comms/aprsd/Makefile2
-rw-r--r--comms/aprsd/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/comms/aprsd/Makefile b/comms/aprsd/Makefile
index 4d476e7ea770..98cab1371e8a 100644
--- a/comms/aprsd/Makefile
+++ b/comms/aprsd/Makefile
@@ -13,6 +13,8 @@ COMMENT= Server daemon providing Internet access to APRS packet data
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.pre.mk>
post-patch:
diff --git a/comms/aprsd/pkg-plist b/comms/aprsd/pkg-plist
index 7247ead9f7de..2fe0ddd51a63 100644
--- a/comms/aprsd/pkg-plist
+++ b/comms/aprsd/pkg-plist
@@ -6,12 +6,12 @@ etc/aprsd/aprsd.conf.samp
etc/aprsd/user.deny.samp
etc/aprsd/welcome.txt.samp
etc/rc.d/aprsd
-%%EXAMPLESDIR%%/chkaprsd
-%%EXAMPLESDIR%%/udp_example
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chkaprsd
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp_example
%%PORTDOCS%%%%DOCSDIR%%/aprsddoc.html
%%PORTDOCS%%%%DOCSDIR%%/ports.html
%%PORTDOCS%%%%DOCSDIR%%/q.html
%%PORTDOCS%%%%DOCSDIR%%/qalgorithm.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrmtry etc/aprsd