Remove useless dual inclusion of pre.mk/post.mk

While here add license
This commit is contained in:
Baptiste Daroussin 2017-10-04 11:40:06 +00:00
parent c873ced966
commit 63a61444c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451220

View File

@ -10,18 +10,19 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for Diamond Rio500
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= glib12
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-devicepath='/dev' \
--with-deviceentry='urio0' \
--with-id3support
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e "s,byteswap.h,sys/endian.h," \
${WRKSRC}/lib/libfon.c \
${WRKSRC}/lib/librio500.c
${REINPLACE_CMD} -e "s,getopt.h,," ${WRKSRC}/include/Makefile.in
.include <bsd.port.post.mk>
.include <bsd.port.mk>