1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Add LICENSE

- Switch to USES=localbase
- Unsilence installation commands
This commit is contained in:
Dmitry Marakasov 2017-12-09 09:00:30 +00:00
parent d259e0f69c
commit 3db668468f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455821

View File

@ -11,19 +11,19 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/^0.//:tu}
MAINTAINER= ports@FreeBSD.org
COMMENT= Console module player
LICENSE= PD
LIB_DEPENDS= libmodplug.so:audio/libmodplug \
libao.so:audio/libao
BUILD_DEPENDS= ${LOCALBASE}/lib/libaiff.a:audio/libaiff
USES= localbase:ldflags
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
'/CFLAGS/s| =| +=| ; \
@ -31,7 +31,7 @@ post-patch:
/^@/d' ${WRKSRC}/${MAKEFILE}.in
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>