1 # New ports collection makefile for: flag
2 # Date created: 20 February 2010
3 # Whom: CyberLeo <cyberleo@cyberleo.net
12 MASTER_SITES= http://git.cyberleo.net/releases/${PORTNAME}/
15 MAINTAINER= cyberleo@cyberleo.net
16 COMMENT= Turn the hostname into a colourful and visually distinctive ansi flag
18 VALID_CATEGORIES += misc-cdn
23 BASH_DESC= Install include for Bash prompt
26 PLIST_FILES= bin/flag etc/rc.d/update-issue
28 .include <bsd.port.options.mk>
30 .if ${PORT_OPTIONS:MBASH}
31 PLIST_FILES+= share/flag/bash_prompt.sh
32 PLIST_DIRS+= share/flag
36 ${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
37 ${INSTALL_SCRIPT} ${WRKSRC}/update-issue ${STAGEDIR}${PREFIX}/etc/rc.d/update-issue
38 .if ${PORT_OPTIONS:MBASH}
39 ${MKDIR} ${STAGEDIR}${DATADIR}
40 ${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
43 .include <bsd.port.mk>