aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-16 20:57:07 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-16 20:57:07 +0800
commit05e61d8d00fda5709df40884381475ca8e99abb3 (patch)
tree739017e181e5eb74a4e0843ebf57d4bcceed8b81 /comms
parent413904e88a8d4c9235822972090260de4796a96e (diff)
downloadfreebsd-ports-gnome-05e61d8d00fda5709df40884381475ca8e99abb3.tar.gz
freebsd-ports-gnome-05e61d8d00fda5709df40884381475ca8e99abb3.tar.zst
freebsd-ports-gnome-05e61d8d00fda5709df40884381475ca8e99abb3.zip
Support staging and add LICENSE.
Diffstat (limited to 'comms')
-rw-r--r--comms/dfu-programmer/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/comms/dfu-programmer/Makefile b/comms/dfu-programmer/Makefile
index db4a856977f0..9c029b99e774 100644
--- a/comms/dfu-programmer/Makefile
+++ b/comms/dfu-programmer/Makefile
@@ -9,27 +9,23 @@ MASTER_SITES= SF
MAINTAINER= byu17@uclive.ac.nz
COMMENT= Device Firmware Update based USB programmer for Atmel chips
+LICENSE= GPLv2
+
GNU_CONFIGURE= yes
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lusb
-PLIST_FILES= bin/dfu-programmer
-
-MAN1= dfu-programmer.1
+PLIST_FILES= bin/dfu-programmer man/man1/dfu-programmer.1.gz
PORTDOCS= *
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>