|
Lines 6-12
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= dosbox |
8 |
PORTNAME= dosbox |
| 9 |
PORTVERSION= 0.71 |
9 |
PORTVERSION= 0.72 |
| 10 |
CATEGORIES= emulators |
10 |
CATEGORIES= emulators |
| 11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
| 12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
Lines 16-25
Link Here
|
| 16 |
|
16 |
|
| 17 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png |
17 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png |
| 18 |
|
18 |
|
| 19 |
USE_AUTOTOOLS= autoconf:259 aclocal:19 |
|
|
| 20 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
| 21 |
USE_SDL= sdl net |
20 |
USE_SDL= sdl net |
| 22 |
|
21 |
|
|
|
22 |
PLIST_FILES= bin/dosbox \ |
| 23 |
%%PORTDOCS%%%%DOCSDIR%%/NEWS \ |
| 24 |
%%PORTDOCS%%%%DOCSDIR%%/README |
| 25 |
|
| 23 |
MAN1= dosbox.1 |
26 |
MAN1= dosbox.1 |
| 24 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
27 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
| 25 |
|
28 |
|
|
Lines 33-40
Link Here
|
| 33 |
post-patch: |
36 |
post-patch: |
| 34 |
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ |
37 |
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ |
| 35 |
${WRKSRC}/docs/dosbox.1 |
38 |
${WRKSRC}/docs/dosbox.1 |
| 36 |
@${SED} 's#%%DOCSDIR%%#${DOCSDIR}#' ${PKGDIR}/pkg-message > \ |
|
|
| 37 |
${WRKDIR}/pkg-message |
| 38 |
|
39 |
|
| 39 |
do-install: |
40 |
do-install: |
| 40 |
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox |
41 |
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox |
|
Lines 46-51
Link Here
|
| 46 |
.endif |
47 |
.endif |
| 47 |
|
48 |
|
| 48 |
post-install: |
49 |
post-install: |
| 49 |
@${CAT} ${WRKDIR}/pkg-message |
50 |
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST} |
|
|
51 |
.if !defined(NOPORTDOCS) |
| 52 |
@${ECHO_CMD} "=================================================" > ${PKGMESSAGE} |
| 53 |
@${ECHO_CMD} "Be sure to read the README for usage instructions" >> ${PKGMESSAGE} |
| 54 |
@${ECHO_CMD} "located in ${DOCSDIR} by default" >> ${PKGMESSAGE} |
| 55 |
@${ECHO_CMD} "=================================================" >> ${PKGMESSAGE} |
| 56 |
@${CAT} ${PKGMESSAGE} |
| 57 |
.endif |
| 50 |
|
58 |
|
| 51 |
.include <bsd.port.mk> |
59 |
.include <bsd.port.mk> |