freebsd-ports/audio/tse3/Makefile
Gleb Popov 7a95f29d58 audio/*: Move manpages to share/man
Approved by:	portmgr (blanket)
2024-02-11 21:28:15 +03:00

37 lines
1,002 B
Makefile

PORTNAME= tse3
PORTVERSION= 0.3.1
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:tu}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MIDI library
WWW= https://tse3.sourceforge.net/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --without-doc-install \
--without-aRts
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -lpthread
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.jpeg ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/History ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/songs
${INSTALL_DATA} ${WRKSRC}/demos/*.tse3 ${STAGEDIR}${DOCSDIR}/songs
.include <bsd.port.mk>