Skip to content

Commit

Permalink
- Support staging
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 23, 2013
1 parent 3814eb1 commit caa7783
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions audio/umodplayer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug \
libao.so:${PORTSDIR}/audio/libao
BUILD_DEPENDS= ${LOCALBASE}/lib/libaiff.a:${PORTSDIR}/audio/libaiff

NO_STAGE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}

PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
Expand All @@ -33,7 +32,7 @@ post-patch:
/^@/d' ${WRKSRC}/${MAKEFILE}.in

do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/

.include <bsd.port.mk>

0 comments on commit caa7783

Please sign in to comment.